Merge branch 'main' into pr/434

This commit is contained in:
orz12
2024-01-27 10:28:55 +08:00
43 changed files with 719 additions and 586 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!,
),
);