TF-3758 Update app grid in left menu on mobile

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-05-29 20:25:14 +07:00
committed by Dat H. Pham
parent d7c4418674
commit 6b09fb9faf
12 changed files with 230 additions and 120 deletions
@@ -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;
}