TF-1288 Fix email detailed view automatically closes when focusing on composer's editor on the web

This commit is contained in:
dab246
2023-01-27 11:36:47 +07:00
committed by Dat Vu
parent 2faf670447
commit 16d360bb00
2 changed files with 7 additions and 4 deletions
@@ -1130,4 +1130,10 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
emailSupervisorController.backToPreviousEmail();
}
}
Future<bool> backButtonPressedCallbackAction(BuildContext context) async {
if (!BuildUtils.isWeb) {
closeEmailView(context);
}
return false;
}
}