From 277f54599ee9bc013286b627102827c06ce961ed Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 11 Apr 2024 12:28:18 -0500 Subject: [PATCH] omit text color Signed-off-by: Matt Bruce --- .../TopNotification/CollapsableNotificationModel.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotificationModel.swift b/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotificationModel.swift index 3d366347..e6c32afd 100644 --- a/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotificationModel.swift +++ b/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotificationModel.swift @@ -33,14 +33,6 @@ open class CollapsableNotificationModel: NotificationMoleculeModel { if topLabel.numberOfLines == nil { 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 { topLabel.textAlignment = .center }