TF-3758 Update app grid in left menu on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
-10
@@ -2280,19 +2280,9 @@ class MailboxDashBoardController extends ReloadableController
|
||||
|
||||
void handleOnForegroundGained() {
|
||||
log('MailboxDashBoardController::handleOnForegroundGained():');
|
||||
if (PlatformInfo.isMobile) {
|
||||
_updateTheme();
|
||||
}
|
||||
refreshActionWhenBackToApp();
|
||||
}
|
||||
|
||||
void _updateTheme() {
|
||||
ThemeUtils.setSystemDarkUIStyle();
|
||||
if (isDrawerOpen) {
|
||||
ThemeUtils.setStatusBarTransparentColor();
|
||||
}
|
||||
}
|
||||
|
||||
void updateEmailList(List<PresentationEmail> newEmailList) {
|
||||
emailsInCurrentMailbox.value = newEmailList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user