TF-2187 Handle click system back button to back to Inbox

(cherry picked from commit 95dfd0eea6b64b8437b0ee35b489bd2660da8a71)
This commit is contained in:
dab246
2023-10-05 13:56:22 +07:00
committed by Dat H. Pham
parent 2e82b3f1eb
commit f408ab6712
7 changed files with 200 additions and 180 deletions
@@ -1927,11 +1927,11 @@ class MailboxDashBoardController extends ReloadableController {
listSendingEmails.value = success.sendingEmails;
if (listSendingEmails.isEmpty && dashboardRoute.value == DashboardRoutes.sendingQueue) {
_openDefaultMailbox();
openDefaultMailbox();
}
}
void _openDefaultMailbox() {
void openDefaultMailbox() {
dispatchRoute(DashboardRoutes.thread);
dispatchMailboxUIAction(SelectMailboxDefaultAction());
}