TF-2321 Set isSendEmailLoading = false when tap outside to close the dialog in composer

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 3f9ab37e42d6bc2e726a047a8d7606128f23d02a)
This commit is contained in:
dab246
2023-11-16 15:13:08 +07:00
committed by Dat Vu
parent 69c1f569be
commit 2ffda63517
3 changed files with 51 additions and 47 deletions
@@ -50,8 +50,8 @@ class ConfirmationDialogActionSheetBuilder {
_styleCancelButton = style;
}
void show() async {
await showCupertinoModalPopup(
Future<dynamic> show() async {
return await showCupertinoModalPopup(
context: _context,
barrierColor: AppColor.colorDefaultCupertinoActionSheet,
builder: (context) => PointerInterceptor(child: CupertinoActionSheet(