TF-2667 Add cancel button in progress send message dialog

This commit is contained in:
dab246
2024-03-12 12:53:41 +07:00
committed by Dat H. Pham
parent ae6341532c
commit f2b70aec48
16 changed files with 215 additions and 46 deletions
@@ -415,10 +415,10 @@ class ThreadController extends BaseController with EmailActionController {
}
_getAllEmailAction();
} else if (error is MethodLevelErrors) {
if (currentOverlayContext != null && error.message?.isNotEmpty == true) {
if (currentOverlayContext != null && error.message != null) {
appToast.showToastErrorMessage(
currentOverlayContext!,
error.message!
error.message?.toString() ?? ''
);
}
clearState();