From 16a4bb28ace7bdbcb13ee342caab6c1729dbcfec Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 14 May 2024 09:01:04 -0500 Subject: [PATCH] updated model changes in tilelet Signed-off-by: Matt Bruce --- VDS/Components/Tilelet/Tilelet.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/VDS/Components/Tilelet/Tilelet.swift b/VDS/Components/Tilelet/Tilelet.swift index f0814e11..98ce49aa 100644 --- a/VDS/Components/Tilelet/Tilelet.swift +++ b/VDS/Components/Tilelet/Tilelet.swift @@ -532,6 +532,7 @@ open class Tilelet: TileContainerBase { var showIconContainerView = false if let descriptiveIconModel { descriptiveIcon.name = descriptiveIconModel.name + descriptiveIcon.color = descriptiveIconModel.color descriptiveIcon.size = descriptiveIconModel.size descriptiveIcon.surface = backgroundColorSurface descriptiveIcon.accessibilityLabel = descriptiveIconModel.accessibleText @@ -539,9 +540,11 @@ open class Tilelet: TileContainerBase { } if let directionalIconModel { + directionalIcon.name = directionalIconModel.iconType.iconName + directionalIcon.color = directionalIconModel.color directionalIcon.size = directionalIconModel.size directionalIcon.surface = backgroundColorSurface - directionalIcon.accessibilityLabel = "Right arrow" + directionalIcon.accessibilityLabel = directionalIconModel.accessibleText showIconContainerView = true }