From 1da70b32e3a8f6975ae4c2e9c46a34617a4368f9 Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 19 Dec 2023 12:00:05 +0700 Subject: [PATCH] Remove code not used Signed-off-by: dab246 (cherry picked from commit a935c960274102609fcb0edfc91556ef36137e7b) --- .../thread/presentation/thread_controller.dart | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/features/thread/presentation/thread_controller.dart b/lib/features/thread/presentation/thread_controller.dart index 6e4ffdad3..956dfe27a 100644 --- a/lib/features/thread/presentation/thread_controller.dart +++ b/lib/features/thread/presentation/thread_controller.dart @@ -1199,18 +1199,6 @@ class ThreadController extends BaseController with EmailActionController { return DismissDirection.startToEnd; } - bool get inboxMailboxSelected => mailboxDashBoardController.selectedMailbox.value?.isInbox == true; - - bool get systemBackGesturesEnable => inboxMailboxSelected && !mailboxDashBoardController.isDrawerOpen; - - void backButtonPressedCallbackAction(BuildContext context) { - if (mailboxDashBoardController.isDrawerOpen) { - mailboxDashBoardController.closeMailboxMenuDrawer(); - } else { - mailboxDashBoardController.openDefaultMailbox(); - } - } - void scrollToTop() { if (listEmailController.hasClients) { listEmailController.animateTo(0, duration: const Duration(milliseconds: 500), curve: Curves.fastOutSlowIn);