fixed bug where server list stays empty

This commit is contained in:
Adrian Baumgart 2024-07-25 20:17:27 +02:00
parent 975b2ea3d8
commit 413275df38
No known key found for this signature in database

View File

@ -23,10 +23,10 @@ class _AvailableServerBottomSheetState
} }
Future<void> _loadServers() async { Future<void> _loadServers() async {
List<String> availableServers = List<String> savedServers =
await globals.serverManager.getAvailableServers(); await globals.serverManager.getAvailableServers();
setState(() { setState(() {
availableServers = availableServers; availableServers = savedServers;
}); });
} }