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