small fixes with new targets not implemented yet.

This commit is contained in:
2025-12-21 15:35:34 +01:00
parent 3d033817a5
commit 99b26893e7
25 changed files with 191 additions and 30 deletions
+10
View File
@@ -46,6 +46,16 @@ class MyApp extends StatelessWidget {
backgroundColor: Colors.grey[900],
),
),
builder: (context, child) {
final originalTextScaler = MediaQuery.of(context).textScaler;
final clampedScale = originalTextScaler.clamp(minScaleFactor: 0.8, maxScaleFactor: 1.2);
return MediaQuery(
data: MediaQuery.of(context).copyWith(
textScaler: clampedScale,
),
child: child!,
);
},
home: const HomeScreen(),
);
}