TF-755 Prevent WillPop in EmailView in mobile

This commit is contained in:
Dat PHAM HOANG
2022-07-28 10:39:12 +07:00
committed by Dat H. Pham
parent 95f9c30804
commit 91517b0743
@@ -31,7 +31,7 @@ class EmailView extends GetWidget<EmailController> with NetworkConnectionMixin {
return WillPopScope( return WillPopScope(
onWillPop: () async { onWillPop: () async {
controller.closeEmailView(context); controller.closeEmailView(context);
return true; return false;
}, },
child: Scaffold( child: Scaffold(
backgroundColor: responsiveUtils.isWebDesktop(context) backgroundColor: responsiveUtils.isWebDesktop(context)