TF-3479 Add hide button for composer
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+1
-1
@@ -826,7 +826,7 @@ class MailboxDashBoardController extends ReloadableController
|
||||
}
|
||||
|
||||
void hideMailboxMenuWhenScreenSizeChange(BuildContext context) {
|
||||
if (isDrawerOpen && responsiveUtils.isWebDesktop(context)) {
|
||||
if (responsiveUtils.isWebDesktop(context) && isDrawerOpen) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
closeMailboxMenuDrawer();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user