map notification label to topLabel

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-04-11 12:28:02 -05:00
parent b23351386b
commit bd93cfdfe8

View File

@ -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,