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
Signed by: rainloreley
SSH Key Fingerprint: SHA256:DrGrohIPualL1UkyUym0K4C+uC5njuzPFBdXgtVZntM

View File

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