Fix cannot send email after close attachment reminder dialog

This commit is contained in:
dab246
2025-09-18 11:12:41 +07:00
committed by Dat H. Pham
parent 9ef068af85
commit 88eeb42424
2 changed files with 4 additions and 4 deletions
@@ -28,7 +28,7 @@ extension AttachmentDetectionExtension on ComposerController {
}
}
void showAttachmentReminderModal({
Future<void> showAttachmentReminderModal({
required BuildContext context,
required List<String> keywords,
required VoidCallback onConfirmAction,
@@ -37,7 +37,7 @@ extension AttachmentDetectionExtension on ComposerController {
final appLocalizations = AppLocalizations.of(context);
String formattedKeywords = keywords.map((k) => '"$k"').join(', ');
log('$runtimeType::showAttachmentReminderModal:formattedKeywords = $formattedKeywords');
MessageDialogActionManager().showConfirmDialogAction(
return MessageDialogActionManager().showConfirmDialogAction(
key: const Key('attachment_reminder_modal'),
context,
title: appLocalizations.attachmentReminderModalTitle,