setup so that server has to send to override,

This commit is contained in:
Pfeil, Scott Robert 2019-02-01 09:53:36 -05:00
parent 7418575b37
commit 5e31a07316

View File

@ -221,7 +221,10 @@
self.headlineLabel.textColor = textColor;
self.messageLabel.textColor = textColor;
self.backgroundColor = [self colorForBackgroundWithJSON:json];
self.separatorView.hidden = ![json boolForKey:@"showBottomLine"];
NSNumber *showBottomLine = [json objectForKey:@"showBottomLine" ofType:[NSNumber class]];
if (showBottomLine) {
self.separatorView.hidden = ![showBottomLine boolValue];
}
}
- (nonnull UIColor *)colorForTopLabelsWithJSON:(nullable NSDictionary *)json {