From e61d7c5b076b25ff375d185cc4d5630ccc9cd7f2 Mon Sep 17 00:00:00 2001 From: Krishna Kishore Bandaru Date: Wed, 26 Jul 2023 20:31:06 +0530 Subject: [PATCH] reverted changes in notification molecule model --- .../Molecules/TopNotification/NotificationMoleculeModel.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MVMCoreUI/Atomic/Molecules/TopNotification/NotificationMoleculeModel.swift b/MVMCoreUI/Atomic/Molecules/TopNotification/NotificationMoleculeModel.swift index 9143e1c3..0f3e546a 100644 --- a/MVMCoreUI/Atomic/Molecules/TopNotification/NotificationMoleculeModel.swift +++ b/MVMCoreUI/Atomic/Molecules/TopNotification/NotificationMoleculeModel.swift @@ -35,20 +35,18 @@ open class NotificationMoleculeModel: ContainerModel, MoleculeModelProtocol, Acc public var button: ButtonModel? public var closeButton: NotificationXButtonModel? public var style: NotificationMoleculeModel.Style = .success - public var id: String? //-------------------------------------------------- // MARK: - Initializer //-------------------------------------------------- - public init(with headline: LabelModel, style: NotificationMoleculeModel.Style = .success, backgroundColor: Color? = nil, body: LabelModel? = nil, button: ButtonModel? = nil, closeButton: NotificationXButtonModel? = nil, id: String? = nil) { + public init(with headline: LabelModel, style: NotificationMoleculeModel.Style = .success, backgroundColor: Color? = nil, body: LabelModel? = nil, button: ButtonModel? = nil, closeButton: NotificationXButtonModel? = nil) { self.headline = headline self.style = style self.backgroundColor = backgroundColor self.body = body self.button = button self.closeButton = closeButton - self.id = id super.init() }