Digital ACT-191 ONEAPP-10928 story: updating fullScreenDialog flag on control changes
This commit is contained in:
parent
b0eba5ea82
commit
71a299a3d0
@ -51,9 +51,9 @@ class ModalViewController: BaseViewController<Modal> {
|
|||||||
addFormRow(label: "Max Height", view: heightTextField)
|
addFormRow(label: "Max Height", view: heightTextField)
|
||||||
addFormRow(label: "Max Width", view: widthTextField)
|
addFormRow(label: "Max Width", view: widthTextField)
|
||||||
|
|
||||||
fullScreenDialogSwitch.onChange = { [weak self] sender in
|
fullScreenDialogSwitch.publisher(for: .valueChanged).sink { [weak self] control in
|
||||||
self?.component.fullScreenDialog = !sender.isOn
|
self?.component.fullScreenDialog = control.isOn
|
||||||
}
|
}.store(in: &subscribers)
|
||||||
|
|
||||||
titleTextField
|
titleTextField
|
||||||
.textPublisher
|
.textPublisher
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user