From 2c30768746f485552e613a2180ab5b93a99164a7 Mon Sep 17 00:00:00 2001 From: DragonSlayer_14 Date: Sun, 28 Dec 2025 02:33:17 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Zeigt=20anstatt=20des=20Ladecircles=20ni?= =?UTF-8?q?chts=20f=C3=BCr=20den=20AccountSelect=20an,=20falls=20noch=20ke?= =?UTF-8?q?in=20Konto=20erstellt=20ist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Pages/Misc/account_select.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Pages/Misc/account_select.dart b/lib/Pages/Misc/account_select.dart index a074954..9802e22 100644 --- a/lib/Pages/Misc/account_select.dart +++ b/lib/Pages/Misc/account_select.dart @@ -44,7 +44,7 @@ class _AccountSelectState extends State { @override Widget build(final BuildContext context) { - if (_selected != null && _accounts != []) { + if (_selected != null && _accounts.isNotEmpty) { return DropdownSearch( items: (final f, final cs) => _accounts, selectedItem: _selected, @@ -66,6 +66,8 @@ class _AccountSelectState extends State { ), ), ); + } else if (_selected == null && _accounts.isEmpty) { + return const Text(''); } else { return const CircularProgressIndicator(); }