fix: disable text scaling in learning progress indicators (#5313)

This commit is contained in:
ggurdin 2026-01-21 13:23:52 -05:00 committed by GitHub
parent ea0c1afb10
commit 2f5d67e202
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -147,6 +147,7 @@ class LearningProgressIndicators extends StatelessWidget {
.colorScheme
.primary,
),
textScaler: TextScaler.noScaling,
),
if (userL1 != null && userL2 != null)
const Icon(Icons.chevron_right_outlined),
@ -162,6 +163,7 @@ class LearningProgressIndicators extends StatelessWidget {
.colorScheme
.primary,
),
textScaler: TextScaler.noScaling,
),
],
),

View file

@ -125,6 +125,7 @@ class AnimatedFloatingNumberState extends State<AnimatedFloatingNumber>
Text(
widget.number.toString(),
style: indicatorStyle,
textScaler: TextScaler.noScaling,
),
],
);