mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 08:06:47 +00:00
TF-1217 Call refresh change email on foreground message
This commit is contained in:
1 parent
86a3524af0
commit
402f8de863
1 file changed
+5
@@ -267,6 +267,11 @@ class ThreadController extends BaseController with EmailActionController {
|
||||
_navigationRouter = action.navigationRouter;
|
||||
_activateSearchFromRouter();
|
||||
mailboxDashBoardController.clearDashBoardAction();
|
||||
} else if (action is RefreshChangedEmailAction) {
|
||||
if (action.newState != _currentEmailState) {
|
||||
_refreshEmailChanges();
|
||||
}
|
||||
mailboxDashBoardController.clearDashBoardAction();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user