omit text color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
bd93cfdfe8
commit
277f54599e
@ -33,14 +33,6 @@ open class CollapsableNotificationModel: NotificationMoleculeModel {
|
|||||||
if topLabel.numberOfLines == nil {
|
if topLabel.numberOfLines == nil {
|
||||||
topLabel.numberOfLines = 1
|
topLabel.numberOfLines = 1
|
||||||
}
|
}
|
||||||
if topLabel.textColor == nil {
|
|
||||||
switch style {
|
|
||||||
case .error, .warning:
|
|
||||||
topLabel.textColor = Color(uiColor: .mvmBlack)
|
|
||||||
default:
|
|
||||||
topLabel.textColor = Color(uiColor: .mvmWhite)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if topLabel.textAlignment == nil {
|
if topLabel.textAlignment == nil {
|
||||||
topLabel.textAlignment = .center
|
topLabel.textAlignment = .center
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user