Removed fixed text size

This commit is contained in:
Juan Gilsanz Polo 2023-11-29 10:32:12 +01:00
parent 946f779567
commit bddfac7e72

View file

@ -236,20 +236,9 @@ class _MainState extends State<Main> {
],
scaffoldMessengerKey: scaffoldMessengerKey,
navigatorKey: globalNavigatorKey,
builder: (context, child) {
return CustomMenuBar(
child: MediaQuery(
data: MediaQuery.of(context).copyWith(
textScaler: TextScaler.linear(
!(Platform.isAndroid || Platform.isIOS)
? 0.9
: 1.0
)
),
child: child!,
),
);
},
builder: (context, child) => CustomMenuBar(
child: child!,
),
home: const Layout(),
),
);