TF-1831 Handle system back button in mobile composer

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 6df628bceba7fa8e8b04259b50ff30782a511cab)
This commit is contained in:
dab246
2023-12-09 17:32:49 +07:00
committed by Dat H. Pham
parent 4bfc551a2a
commit 326dded301
4 changed files with 7 additions and 7 deletions
@@ -37,7 +37,7 @@ class MobileContainerView extends StatelessWidget {
return WillPopScope(
onWillPop: () async {
onCloseViewAction.call();
return true;
return false;
},
child: GestureDetector(
onTap: onClearFocusAction,
@@ -34,7 +34,7 @@ class TabletContainerView extends StatelessWidget {
return WillPopScope(
onWillPop: () async {
onCloseViewAction.call();
return true;
return false;
},
child: GestureDetector(
onTap: onClearFocusAction,