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