🐛 Drawer will expand on mobile device

This commit is contained in:
LittleSheep 2024-08-21 20:55:22 +08:00
parent 2ec25fd1a2
commit b6ebd6bef6

View File

@ -196,6 +196,11 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer>
_expandDrawer();
} else if (SolianTheme.isLargeScreen(context)) {
_collapseDrawer();
} else {
_drawerAnimationController.animateTo(
1,
duration: const Duration(milliseconds: 100),
);
}
}