mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Small UI improvements
This commit is contained in:
parent
cca12d5664
commit
1035257361
6 changed files with 17 additions and 2 deletions
|
@ -68,6 +68,7 @@ class _HomeState extends State<Home> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.loadingStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
|
@ -173,6 +174,7 @@ class _HomeState extends State<Home> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.errorLoadServerStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
|
@ -208,7 +210,12 @@ class _HomeState extends State<Home> {
|
|||
},
|
||||
child: status()
|
||||
),
|
||||
floatingActionButton: isVisible ? const HomeFab() : null
|
||||
floatingActionButton: appConfigProvider.showingSnackbar
|
||||
? null
|
||||
: isVisible
|
||||
? const HomeFab()
|
||||
: null
|
||||
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue