mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-31 11:52:16 +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(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
Container(
|
||||
padding: const EdgeInsets.all(30),
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.clients,
|
||||
style: const TextStyle(
|
||||
fontSize: 22
|
||||
),
|
||||
),
|
||||
AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.clients),
|
||||
centerTitle: true,
|
||||
),
|
||||
SizedBox(
|
||||
width: double.maxFinite,
|
||||
|
@ -202,14 +197,9 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
|
|||
case 2:
|
||||
return Column(
|
||||
children: [
|
||||
Container(
|
||||
padding: const EdgeInsets.all(30),
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.clients,
|
||||
style: const TextStyle(
|
||||
fontSize: 24
|
||||
),
|
||||
),
|
||||
AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.clients),
|
||||
centerTitle: true,
|
||||
),
|
||||
SizedBox(
|
||||
width: double.maxFinite,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue