From bd93cfdfe888b7cc2b0f0799ec97275bd49f3b65 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 11 Apr 2024 12:28:02 -0500 Subject: [PATCH] map notification label to topLabel Signed-off-by: Matt Bruce --- .../Molecules/TopNotification/CollapsableNotification.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotification.swift b/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotification.swift index 612f3873..6372e7ca 100644 --- a/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotification.swift +++ b/MVMCoreUI/Atomic/Molecules/TopNotification/CollapsableNotification.swift @@ -99,6 +99,8 @@ import VDSColorTokens guard let model = model as? CollapsableNotificationModel else { return } topView.set(with: model, delegateObject, additionalData) bottomView.set(with: model, delegateObject, additionalData) + topView.label.textColorConfiguration = bottomView.titleLabel.textColorConfiguration + topView.label.surface = bottomView.surface // Update top view default noop to expand. if let topAction = model.topAction,