Iterate on Save change dialog.

This commit is contained in:
Benoit Marty
2025-12-03 14:35:52 +01:00
committed by Benoit Marty
parent e9e699ee19
commit 63f7c9a4fd
10 changed files with 36 additions and 25 deletions
@@ -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) },
)
}
}