Small UI improvements

This commit is contained in:
Juan Gilsanz Polo 2022-10-10 00:12:29 +02:00
parent cca12d5664
commit 1035257361
6 changed files with 17 additions and 2 deletions

View file

@ -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
);
}
}