From 4d84ac176ae101ef80eca991c706f24e744a384e Mon Sep 17 00:00:00 2001 From: dab246 Date: Thu, 4 May 2023 17:05:05 +0700 Subject: [PATCH] TF-1792 Add option `EmptyTrash` for mailbox in search list (cherry picked from commit 820360ce00f829ca931230b4e95ad22d7cfe1a8e) --- .../search/mailbox/presentation/search_mailbox_controller.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/features/search/mailbox/presentation/search_mailbox_controller.dart b/lib/features/search/mailbox/presentation/search_mailbox_controller.dart index 5a5072783..12566b37b 100644 --- a/lib/features/search/mailbox/presentation/search_mailbox_controller.dart +++ b/lib/features/search/mailbox/presentation/search_mailbox_controller.dart @@ -277,6 +277,9 @@ class SearchMailboxController extends BaseMailboxController with MailboxActionHa MailboxSubscribeAction.subscribe ); break; + case MailboxActions.emptyTrash: + emptyTrashAction(context, mailbox.id, dashboardController); + break; default: break; }