Show server version message on app start

This commit is contained in:
Juan Gilsanz Polo 2023-11-20 14:22:01 +01:00
parent dbb2609339
commit 39cdcf648d
5 changed files with 38 additions and 10 deletions

View file

@ -235,13 +235,16 @@ class _MainState extends State<Main> {
Locale('tr', '')
],
scaffoldMessengerKey: scaffoldMessengerKey,
navigatorKey: globalNavigatorKey,
builder: (context, child) {
return CustomMenuBar(
child: MediaQuery(
data: MediaQuery.of(context).copyWith(
textScaleFactor: !(Platform.isAndroid || Platform.isIOS)
? 0.9
: 1.0
textScaler: TextScaler.linear(
!(Platform.isAndroid || Platform.isIOS)
? 0.9
: 1.0
)
),
child: child!,
),
@ -251,5 +254,4 @@ class _MainState extends State<Main> {
),
);
}
}
}