ios: fixed broken clang pragmas
This commit is contained in:
parent
0147b06d06
commit
1a5c527c07
@ -279,10 +279,10 @@ static UIFont *buttonFont = nil;
|
||||
button.frame = CGRectMake(xOffset, _height, width, kAlertButtonHeight);
|
||||
button.titleLabel.font = buttonFont;
|
||||
if (IOS_LESS_THAN_6) {
|
||||
#pragma clan diagnostic push
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
button.titleLabel.minimumFontSize = 10;
|
||||
#pragma clan diagnostic pop
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
else {
|
||||
button.titleLabel.adjustsFontSizeToFitWidth = YES;
|
||||
|
Loading…
Reference in New Issue
Block a user