TF-755 Prevent WillPop in EmailView in mobile
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user