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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user