diff --git a/MVMCoreUI/Molecules/TopLabelsView.m b/MVMCoreUI/Molecules/TopLabelsView.m index 028fcf32..5452871f 100644 --- a/MVMCoreUI/Molecules/TopLabelsView.m +++ b/MVMCoreUI/Molecules/TopLabelsView.m @@ -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 {