Skip to content

Commit 857535c

Browse files
Fix font size in traffic card
1 parent 2e7deb3 commit 857535c

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

lib/features/home/home_screen.dart

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -633,10 +633,11 @@ class _StatsRow extends ConsumerWidget {
633633
const SizedBox(height: AppSpacing.xs),
634634
Text(
635635
networkTraffic['total'] ?? '0 B',
636-
style: Theme.of(context).textTheme.titleMedium?.copyWith(
637-
fontWeight: FontWeight.bold,
638-
color: AppColors.dataTraffic,
639-
),
636+
style:
637+
Theme.of(context).textTheme.headlineMedium?.copyWith(
638+
fontWeight: FontWeight.bold,
639+
color: AppColors.dataTraffic,
640+
),
640641
textAlign: TextAlign.center,
641642
overflow: TextOverflow.ellipsis,
642643
maxLines: 1,
@@ -734,10 +735,11 @@ class _StatsRow extends ConsumerWidget {
734735
const SizedBox(height: AppSpacing.xs),
735736
Text(
736737
networkTraffic['total'] ?? '0 B',
737-
style: Theme.of(context).textTheme.titleMedium?.copyWith(
738-
fontWeight: FontWeight.bold,
739-
color: AppColors.dataTraffic,
740-
),
738+
style:
739+
Theme.of(context).textTheme.headlineMedium?.copyWith(
740+
fontWeight: FontWeight.bold,
741+
color: AppColors.dataTraffic,
742+
),
741743
textAlign: TextAlign.center,
742744
overflow: TextOverflow.ellipsis,
743745
maxLines: 1,
@@ -920,7 +922,7 @@ class _ConnectedStatsRowState extends ConsumerState<_ConnectedStatsRow> {
920922
const SizedBox(height: AppSpacing.xs),
921923
Text(
922924
networkTraffic['total'] ?? '0 B',
923-
style: Theme.of(context).textTheme.titleMedium?.copyWith(
925+
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
924926
fontWeight: FontWeight.bold,
925927
color: AppColors.dataTraffic,
926928
),

0 commit comments

Comments
 (0)