Fix for CXTDT-586497, Using the icon instead of UIImage while feeding data to Table component.
This commit is contained in:
parent
db6b8eb39a
commit
476ec50be3
@ -202,11 +202,12 @@ class TableViewController: BaseViewController<Table> {
|
||||
trailingToolTip.labelText = "5G Ultra Wideband is available in your area"
|
||||
trailingToolTip.tooltipModel = .init(title: "Check the formatting of your address",
|
||||
content:"House/Building number then street name")
|
||||
let image = UIImage(named: "clean-surface")
|
||||
let imageView = UIImageView(image: image)
|
||||
|
||||
let iconView = Icon()
|
||||
iconView.name = .cleanSurface
|
||||
|
||||
rows.append(TableRowModel(columns: [TableItemModel(bottomLine: .secondary, component:textArea),
|
||||
TableItemModel(bottomLine: .secondary, component:imageView),
|
||||
TableItemModel(bottomLine: .secondary, component:iconView),
|
||||
TableItemModel(bottomLine: .secondary, component:trailingToolTip)]))
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user