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

@ -274,7 +274,7 @@
"noAllowedClients": "No hay clientes permitidos",
"allowedClientsDescription": "Si esta lista tiene entradas, AdGuard Home aceptará peticiones solo de estos clientes.",
"blockedClientsDescription": "Si esta lista tiene entradas, AdGuard Home descartará las peticiones de estos clientes. Este campo será ignorado si hay entradas en clientes permitidos.",
"disallowedDomainsDescription": " AdGuard Home descartará las consultas DNS que coincidan con estos dominios, y estas consultas ni siquiera aparecerán en el registro de consultas",
"disallowedDomainsDescription": " AdGuard Home descartará las consultas DNS que coincidan con estos dominios, y estas consultas ni siquiera aparecerán en el registro de consultas.",
"addClientFieldDescription": "CIDRs, Dirección IP, o ClientID",
"clientIdentifier": "Identificador de cliente",
"allowClient": "Permitir cliente",

View file

@ -191,6 +191,7 @@ class _AddedListState extends State<AddedList> {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.loadingStatus,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,
@ -309,6 +310,7 @@ class _AddedListState extends State<AddedList> {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.errorLoadServerStatus,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,

View file

@ -32,6 +32,7 @@ class ClientsList extends StatelessWidget {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.loadingStatus,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,
@ -102,6 +103,7 @@ class ClientsList extends StatelessWidget {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.errorLoadServerStatus,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,

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

View file

@ -219,6 +219,7 @@ class _ClientsListState extends State<ClientsList> {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.loadingClients,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,
@ -340,6 +341,7 @@ class _ClientsListState extends State<ClientsList> {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.clientsNotLoaded,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,

View file

@ -82,6 +82,7 @@ class _ServerInformationWidgetState extends State<ServerInformationWidget> {
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Text(
AppLocalizations.of(context)!.loadingServerInfo,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,
@ -159,6 +160,7 @@ class _ServerInformationWidgetState extends State<ServerInformationWidget> {
const SizedBox(height: 30),
Text(
AppLocalizations.of(context)!.serverInfoNotLoaded,
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22,
color: Colors.grey,