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:
commit
7a85b46ff0
@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
if (closeButton && !self.closeButton) {
|
if (closeButton && !self.closeButton) {
|
||||||
self.closeButton = [self addCloseButtonWithAnimationDelegate:animationDelegate];
|
self.closeButton = [self addCloseButtonWithAnimationDelegate:animationDelegate];
|
||||||
[self.closeButton setTintColor:[UIColor whiteColor]];
|
[self.closeButton setTintColor:self.contentColor ?:[UIColor whiteColor]];
|
||||||
} else if (!closeButton && self.closeButton) {
|
} else if (!closeButton && self.closeButton) {
|
||||||
[self.closeButton removeFromSuperview];
|
[self.closeButton removeFromSuperview];
|
||||||
self.closeButton = nil;
|
self.closeButton = nil;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user