remove unneeded method call and set default tint as black.

This commit is contained in:
Kevin G Christiano 2019-09-03 16:09:01 -04:00
parent e75b0d6d9a
commit 9b336dc2ec

View File

@ -183,7 +183,7 @@ static const CGFloat VertialShadowOffset = 6;
button.translatesAutoresizingMaskIntoConstraints = NO;
UIImage *image = [[MVMCoreUIUtility imageNamed:@"closeXBlack"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
[button setImage:image forState:UIControlStateNormal];
button.titleLabel.font = [MFStyler fontForHeadlineAlternative];
[button setTintColor:UIColor.blackColor];
//accessibility
button.accessibilityLabel = [MVMCoreUIUtility hardcodedStringWithKey:@"AccCloseButton"];