Skip to content

Commit 850f704

Browse files
committed
feat(navigator): extend navigator in more screen sizes
- Modify the condition for extending the navigator - Include small screen sizes in addition to medium-large sizes
1 parent 11a5173 commit 850f704

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/app/view/app_shell.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ class AppShell extends StatelessWidget {
7777
),
7878
trailingNavRail: Builder(
7979
builder: (context) {
80-
final isExtended = Breakpoints.mediumLarge.isActive(context);
80+
final isExtended =
81+
Breakpoints.mediumLarge.isActive(context) ||
82+
Breakpoints.small.isActive(context);
8183
return Expanded(
8284
child: Padding(
8385
padding: const EdgeInsets.only(bottom: AppSpacing.lg),

0 commit comments

Comments
 (0)