[Bugfix] Properly show FAB in ScreenLayout.dual

This commit is contained in:
PartyDonut 2024-10-06 19:49:51 +02:00
parent aaa6a737cb
commit c4f33e5039
3 changed files with 3 additions and 12 deletions

View file

@ -139,7 +139,7 @@ class _NavigationBodyState extends ConsumerState<NavigationBody> {
},
icon: const Icon(IconsaxBold.menu),
),
if (AdaptiveLayout.of(context).isDesktop) ...[
if (AdaptiveLayout.of(context).size == ScreenLayout.dual) ...[
const SizedBox(height: 8),
AnimatedFadeSize(
child: AnimatedSwitcher(