Standardize button actions in confirm dialog

This commit is contained in:
dab246
2025-08-26 16:42:41 +07:00
committed by Dat H. Pham
parent e26e0be51d
commit ff0ac57c1d
10 changed files with 39 additions and 43 deletions
@@ -216,10 +216,9 @@ class EmailActionReactor {
currentContext!,
title: DeleteActionType.single.getTitleDialog(currentContext!),
DeleteActionType.single.getContentDialog(currentContext!),
cancelTitle: DeleteActionType.single.getConfirmActionName(currentContext!),
AppLocalizations.of(currentContext!).cancel,
onCancelAction: () => onDeleteEmailRequest.call(presentationEmail),
onConfirmAction: popBack,
DeleteActionType.single.getConfirmActionName(currentContext!),
cancelTitle: AppLocalizations.of(currentContext!).cancel,
onConfirmAction: () => onDeleteEmailRequest.call(presentationEmail),
onCloseButtonAction: popBack,
);
}