mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-28 11:59:52 +00:00
Show server version message on app start
This commit is contained in:
parent
dbb2609339
commit
39cdcf648d
5 changed files with 38 additions and 10 deletions
|
@ -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> {
|
|||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue