Skip to content

Commit

Permalink
Update depricated
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Sep 6, 2023
1 parent 28cbdf5 commit d4cd7a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/lib/src/common/widget/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ class App extends StatelessWidget {
.firstWhereOrNull((e) => e.languageCode == platform.locale) ??
const Locale('en', 'US'),
builder: (context, child) => MediaQuery(
data: MediaQuery.of(context).copyWith(textScaleFactor: 1),
data: MediaQuery.of(context).copyWith(
textScaler: TextScaler.noScaling,
),
child: WindowScope(
/* title: Localization.of(context).title, */
child: child ?? const SizedBox.shrink(),
Expand Down

0 comments on commit d4cd7a2

Please sign in to comment.