refactor: perf improvements

This commit is contained in:
cogwheel0
2025-09-23 11:00:25 +05:30
parent 41216ea432
commit 8da8a78001
7 changed files with 205 additions and 93 deletions

View File

@@ -194,8 +194,8 @@ class _ConduitAppState extends ConsumerState<ConduitApp> {
return MediaQuery(
data: mediaQuery.copyWith(
textScaler: mediaQuery.textScaler.clamp(
minScaleFactor: 0.8,
maxScaleFactor: 2.0,
minScaleFactor: 1.0,
maxScaleFactor: 3.0,
),
),
child: OfflineIndicator(child: child ?? const SizedBox.shrink()),