Iterate on Save change dialog.
This commit is contained in:
parent
e9e699ee19
commit
63f7c9a4fd
10 changed files with 36 additions and 25 deletions
|
|
@ -144,7 +144,8 @@ fun SecurityAndPrivacyView(
|
|||
onErrorDismiss = { },
|
||||
confirmationDialog = {
|
||||
SaveChangesDialog(
|
||||
onSubmitClick = { state.eventSink(SecurityAndPrivacyEvents.Exit) },
|
||||
onSaveClick = { state.eventSink(SecurityAndPrivacyEvents.Save) },
|
||||
onDiscardClick = { state.eventSink(SecurityAndPrivacyEvents.Exit) },
|
||||
onDismiss = { state.eventSink(SecurityAndPrivacyEvents.DismissExitConfirmation) }
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue