Merge branch 'bugfix/cxtdt-25160' into 'develop'

Adds nil check on contentColor to account for future possibility of...

See merge request BPHV_MIPS/mvm_core_ui!127
This commit is contained in:
Pfeil, Scott Robert 2019-09-05 12:50:34 -04:00
commit 7a85b46ff0

View File

@ -173,7 +173,7 @@
if (closeButton && !self.closeButton) {
self.closeButton = [self addCloseButtonWithAnimationDelegate:animationDelegate];
[self.closeButton setTintColor:[UIColor whiteColor]];
[self.closeButton setTintColor:self.contentColor ?:[UIColor whiteColor]];
} else if (!closeButton && self.closeButton) {
[self.closeButton removeFromSuperview];
self.closeButton = nil;