TF-4265 Additional config for include and exclude keywords

This commit is contained in:
dab246
2026-01-30 14:38:33 +07:00
committed by Dat H. Pham
parent 42fb24e6e5
commit 55e27c78ed
8 changed files with 187 additions and 2 deletions
@@ -890,6 +890,12 @@ class ComposerController extends BaseController
emailSubject: subjectEmail.value ?? '',
emailContent: emailContent,
);
if (!context.mounted) {
logWarning('ComposerController::_prepareToSendMessages: CONTEXT IS NOT MOUNTED');
return;
}
if (attachmentKeywords.isNotEmpty &&
uploadController.attachmentsUploaded.isEmpty) {
showAttachmentReminderModal(