mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-01 20:32:18 +00:00
Improved clients loading and error screen
This commit is contained in:
parent
e88817d800
commit
7944f6f18a
1 changed files with 6 additions and 16 deletions
|
@ -93,14 +93,9 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
|
||||||
return Column(
|
return Column(
|
||||||
mainAxisSize: MainAxisSize.max,
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
Container(
|
AppBar(
|
||||||
padding: const EdgeInsets.all(30),
|
title: Text(AppLocalizations.of(context)!.clients),
|
||||||
child: Text(
|
centerTitle: true,
|
||||||
AppLocalizations.of(context)!.clients,
|
|
||||||
style: const TextStyle(
|
|
||||||
fontSize: 22
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: double.maxFinite,
|
width: double.maxFinite,
|
||||||
|
@ -202,14 +197,9 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
|
||||||
case 2:
|
case 2:
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
AppBar(
|
||||||
padding: const EdgeInsets.all(30),
|
title: Text(AppLocalizations.of(context)!.clients),
|
||||||
child: Text(
|
centerTitle: true,
|
||||||
AppLocalizations.of(context)!.clients,
|
|
||||||
style: const TextStyle(
|
|
||||||
fontSize: 24
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: double.maxFinite,
|
width: double.maxFinite,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue