mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Iterate on Save change dialog.
This commit is contained in:
committed by
Benoit Marty
parent
e9e699ee19
commit
63f7c9a4fd
+3
-2
@@ -147,8 +147,9 @@ fun EditUserProfileView(
|
||||
when (confirming) {
|
||||
is AsyncAction.ConfirmingCancellation -> {
|
||||
SaveChangesDialog(
|
||||
onSubmitClick = { state.eventSink(EditUserProfileEvents.Exit) },
|
||||
onDismiss = { state.eventSink(EditUserProfileEvents.CloseDialog) }
|
||||
onSaveClick = { state.eventSink(EditUserProfileEvents.Save) },
|
||||
onDiscardClick = { state.eventSink(EditUserProfileEvents.Exit) },
|
||||
onDismiss = { state.eventSink(EditUserProfileEvents.CloseDialog) },
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user