setup so that server has to send to override,
This commit is contained in:
parent
7418575b37
commit
5e31a07316
@ -221,7 +221,10 @@
|
|||||||
self.headlineLabel.textColor = textColor;
|
self.headlineLabel.textColor = textColor;
|
||||||
self.messageLabel.textColor = textColor;
|
self.messageLabel.textColor = textColor;
|
||||||
self.backgroundColor = [self colorForBackgroundWithJSON:json];
|
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 {
|
- (nonnull UIColor *)colorForTopLabelsWithJSON:(nullable NSDictionary *)json {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user