Iterate on Save change dialog.
This commit is contained in:
parent
e9e699ee19
commit
63f7c9a4fd
10 changed files with 36 additions and 25 deletions
|
|
@ -66,8 +66,9 @@ fun CreatePollView(
|
|||
BackHandler(onBack = navBack)
|
||||
if (state.showBackConfirmation) {
|
||||
SaveChangesDialog(
|
||||
onSubmitClick = { state.eventSink(CreatePollEvents.NavBack) },
|
||||
onDismiss = { state.eventSink(CreatePollEvents.HideConfirmation) }
|
||||
onSaveClick = { state.eventSink(CreatePollEvents.Save) },
|
||||
onDiscardClick = { state.eventSink(CreatePollEvents.NavBack) },
|
||||
onDismiss = { state.eventSink(CreatePollEvents.HideConfirmation) },
|
||||
)
|
||||
}
|
||||
if (state.showDeleteConfirmation) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue