TF-3479 Update logic Show <-> Hide <-> Minimize multiple composer

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-11 16:27:44 +07:00
committed by Dat H. Pham
parent a0160f09f3
commit d2e5d35755
5 changed files with 100 additions and 89 deletions
@@ -825,8 +825,8 @@ class MailboxDashBoardController extends ReloadableController
}
}
void hideMailboxMenuWhenScreenSizeChange(BuildContext context) {
if (responsiveUtils.isWebDesktop(context) && isDrawerOpen) {
void hideMailboxMenuWhenScreenSizeChange() {
if (isDrawerOpen) {
WidgetsBinding.instance.addPostFrameCallback((_) {
closeMailboxMenuDrawer();
});