TF-1288 Fix email detailed view automatically closes when focusing on composer's editor on the web
This commit is contained in:
@@ -43,10 +43,7 @@ class EmailView extends GetWidget<SingleEmailController>
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return WillPopScope(
|
||||
onWillPop: () async {
|
||||
controller.closeEmailView(context);
|
||||
return false;
|
||||
},
|
||||
onWillPop: () => controller.backButtonPressedCallbackAction.call(context),
|
||||
child: Scaffold(
|
||||
backgroundColor: responsiveUtils.isWebDesktop(context)
|
||||
? AppColor.colorBgDesktop
|
||||
|
||||
Reference in New Issue
Block a user