disable fix. highlight fix.

This commit is contained in:
Pfeil, Scott Robert 2019-06-03 10:30:09 -04:00
parent c5e306f0ae
commit 81df953669
2 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,7 @@
self.backgroundColor = [UIColor clearColor];
self.contentMode = UIViewContentModeRedraw;
[self setTitleColor:[UIColor mfTextButtonColor] forState:UIControlStateNormal];
[self setTitleColor:[UIColor mfTextButtonColorHighlighted] forState:UIControlStateHighlighted];
[self setTitleColor:[UIColor mfCharcoalColor] forState:UIControlStateHighlighted];
// left alignment by default
self.titleLabel.textAlignment = NSTextAlignmentLeft;
self.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;

View File

@ -643,6 +643,7 @@
self.primaryButtonType = PrimaryButtonTypeCustom;
self.fillColor = [UIColor blackColor];
self.textColor = [UIColor whiteColor];
self.disabledTextColor = self.textColor;
self.borderColor = nil;
_bordered = false;
}