diff --git a/lib/screens/dashboard/components/GroupedStoppedTimersRowWide.dart b/lib/screens/dashboard/components/GroupedStoppedTimersRowWide.dart index c687b7d..7db3a4d 100644 --- a/lib/screens/dashboard/components/GroupedStoppedTimersRowWide.dart +++ b/lib/screens/dashboard/components/GroupedStoppedTimersRowWide.dart @@ -136,7 +136,7 @@ class _GroupedStoppedTimersRowWideState offset: const Offset(2, -4), child: Text( "+${widget.totalDuration.inDays}", - textScaleFactor: 0.8, + textScaler: const TextScaler.linear(0.8), style: timeSpanStyle, ), ), diff --git a/lib/screens/dashboard/components/StoppedTimerRowWide.dart b/lib/screens/dashboard/components/StoppedTimerRowWide.dart index 64ebf2a..6198fa0 100644 --- a/lib/screens/dashboard/components/StoppedTimerRowWide.dart +++ b/lib/screens/dashboard/components/StoppedTimerRowWide.dart @@ -105,7 +105,7 @@ class StoppedTimerRowWide extends StatelessWidget { offset: const Offset(2, -4), child: Text( "+${duration.inDays}", - textScaleFactor: 0.8, + textScaler: const TextScaler.linear(0.8), style: timeSpanStyle, ), ),