TF-1977 Rename the method for clarity
(cherry picked from commit 41c854cd9a93626d37dc230777b4b2ec4ef3fb22)
This commit is contained in:
@@ -12,12 +12,7 @@ class MailboxUIAction extends UIAction {
|
||||
List<Object?> get props => [];
|
||||
}
|
||||
|
||||
class SelectMailboxDefaultAction extends MailboxUIAction {
|
||||
SelectMailboxDefaultAction();
|
||||
|
||||
@override
|
||||
List<Object?> get props => [];
|
||||
}
|
||||
class SelectMailboxDefaultAction extends MailboxUIAction {}
|
||||
|
||||
class RefreshChangeMailboxAction extends MailboxUIAction {
|
||||
final jmap.State? newState;
|
||||
|
||||
+2
-2
@@ -1593,7 +1593,7 @@ class MailboxDashBoardController extends ReloadableController {
|
||||
|
||||
void _handleNotificationMessageFromNewState(jmap.State newState, {bool onForeground = true}) {
|
||||
if (onForeground) {
|
||||
_openInboxMailbox();
|
||||
_openInboxMailboxFromNotification();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1615,7 +1615,7 @@ class MailboxDashBoardController extends ReloadableController {
|
||||
dispatchRoute( DashboardRoutes.waiting);
|
||||
}
|
||||
|
||||
void _openInboxMailbox() {
|
||||
void _openInboxMailboxFromNotification() {
|
||||
popAllRouteIfHave();
|
||||
dispatchMailboxUIAction(SelectMailboxDefaultAction());
|
||||
dispatchRoute(DashboardRoutes.thread);
|
||||
|
||||
Reference in New Issue
Block a user