updated model changes in tilelet
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
b31ff5c961
commit
16a4bb28ac
@ -532,6 +532,7 @@ open class Tilelet: TileContainerBase<Tilelet.Padding> {
|
||||
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<Tilelet.Padding> {
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user