TF-2597 Handle delete composer action

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2024-02-27 17:08:51 +07:00
committed by Dat H. Pham
parent 01c37d08d3
commit cb929ff6e0
3 changed files with 8 additions and 13 deletions
@@ -1817,14 +1817,9 @@ class ComposerController extends BaseController {
}
}
void closeComposer(BuildContext context) {
FocusScope.of(context).unfocus();
if (PlatformInfo.isWeb) {
mailboxDashBoardController.closeComposerOverlay();
} else {
popBack();
}
void handleClickDeleteComposer(BuildContext context) {
clearFocus(context);
_closeComposerAction();
}
void _onEditorFocusOnMobile() {