updated tilelet
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
0763df0c3a
commit
fa29d8834a
@ -55,6 +55,7 @@ class TileletViewController: BaseViewController<Tilelet> {
|
||||
override func setupForm(){
|
||||
super.setupForm()
|
||||
addFormRow(label: "Surface", view: surfacePickerSelectorView)
|
||||
addActionRow()
|
||||
addFormRow(label: "Clickable", view: clickableSwitch)
|
||||
|
||||
addFormRow(label: "Title Style", view: titleStandardStylePickerSelectorView)
|
||||
@ -74,9 +75,7 @@ class TileletViewController: BaseViewController<Tilelet> {
|
||||
clickableSwitch.onChange = { [weak self] sender in
|
||||
guard let self else { return }
|
||||
if sender.isOn {
|
||||
self.component.onClick = { t in
|
||||
print("you click on me!")
|
||||
}
|
||||
self.component.onClickActionPublisher("Tilelet", label: actionLabel)
|
||||
} else {
|
||||
self.component.onClick = nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user