Merge branch 'main' of https://github.com/guozhigq/pilipala into guozhigq-main

This commit is contained in:
orz12
2024-01-22 10:22:19 +08:00
25 changed files with 341 additions and 201 deletions

View File

@@ -158,9 +158,8 @@ class MyApp extends StatelessWidget {
return FlutterSmartDialog(
toastBuilder: (String msg) => CustomToast(msg: msg),
child: MediaQuery(
data: MediaQuery.of(context).copyWith(
textScaleFactor:
MediaQuery.of(context).textScaleFactor * textScale),
data: MediaQuery.of(context)
.copyWith(textScaler: TextScaler.linear(textScale)),
child: child!,
),
);