File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
lib/features/mailbox/presentation Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11import 'package:core/presentation/extensions/color_extension.dart' ;
2+ import 'package:core/utils/platform_info.dart' ;
23import 'package:flutter/material.dart' ;
34import 'package:tmail_ui_user/features/base/widget/application_version_widget.dart' ;
45import 'package:tmail_ui_user/features/mailbox/presentation/base_mailbox_view.dart' ;
@@ -19,7 +20,14 @@ class MailboxView extends BaseMailboxView {
1920 child: Column (
2021 crossAxisAlignment: CrossAxisAlignment .start,
2122 children: [
22- buildMailboxAppBar (),
23+ PopScope (
24+ canPop: false ,
25+ onPopInvokedWithResult: (_, __) {
26+ if (! PlatformInfo .isAndroid) return ;
27+ controller.mailboxDashBoardController.closeMailboxMenuDrawer ();
28+ },
29+ child: buildMailboxAppBar (),
30+ ),
2331 Expanded (
2432 child: RefreshIndicator (
2533 color: AppColor .primaryColor,
You can’t perform that action at this time.
0 commit comments