TF-1479: Check verify toEmail when click to sent email
This commit is contained in:
@@ -668,6 +668,11 @@ class ComposerController extends BaseController {
|
|||||||
void sendEmailAction(BuildContext context) async {
|
void sendEmailAction(BuildContext context) async {
|
||||||
clearFocusEditor(context);
|
clearFocusEditor(context);
|
||||||
|
|
||||||
|
if (toEmailAddressController.text.isNotEmpty) {
|
||||||
|
_collapseAllRecipient();
|
||||||
|
_autoCreateEmailTag();
|
||||||
|
}
|
||||||
|
|
||||||
if (!isEnableEmailSendButton.value) {
|
if (!isEnableEmailSendButton.value) {
|
||||||
showConfirmDialogAction(context,
|
showConfirmDialogAction(context,
|
||||||
AppLocalizations.of(context).message_dialog_send_email_without_recipient,
|
AppLocalizations.of(context).message_dialog_send_email_without_recipient,
|
||||||
|
|||||||
Reference in New Issue
Block a user