Skip to content

Commit bc4e7e2

Browse files
committed
fix(app): update icon and text color in navigation rail
- Set the icon color to primary in both leadingUnextendedNavRail and leadingExtendedNavRail - Remove unnecessary text color override in leadingExtendedNavRail
1 parent d4bb1b4 commit bc4e7e2

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

lib/app/view/app_shell.dart

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,25 @@ class AppShell extends StatelessWidget {
5656
label: l10n.appConfiguration,
5757
),
5858
],
59-
leadingUnextendedNavRail: const Padding(
60-
padding: EdgeInsets.symmetric(vertical: AppSpacing.lg),
61-
child: Icon(Icons.newspaper_outlined),
59+
leadingUnextendedNavRail: Padding(
60+
padding: const EdgeInsets.symmetric(vertical: AppSpacing.lg),
61+
child: Icon(
62+
Icons.newspaper_outlined,
63+
color: theme.colorScheme.primary,
64+
),
6265
),
6366
leadingExtendedNavRail: Padding(
6467
padding: const EdgeInsets.all(AppSpacing.lg),
6568
child: Row(
6669
children: [
67-
const Icon(Icons.newspaper_outlined),
70+
Icon(
71+
Icons.newspaper_outlined,
72+
color: theme.colorScheme.primary,
73+
),
6874
const SizedBox(width: AppSpacing.md),
6975
Text(
7076
l10n.dashboardTitle,
71-
style: theme.textTheme.titleLarge?.copyWith(
72-
color: theme.colorScheme.primary,
73-
),
77+
style: theme.textTheme.titleLarge,
7478
),
7579
],
7680
),

0 commit comments

Comments
 (0)