opt.: servers list -> map

This commit is contained in:
lollipopkit
2023-04-23 14:08:46 +08:00
parent bd608ce06f
commit 71243ea1fe
10 changed files with 85 additions and 80 deletions

View File

@@ -156,7 +156,7 @@ class _PingPageState extends State<PingPage>
}
try {
await Future.wait(_serverProvider.servers.map((e) async {
await Future.wait(_serverProvider.servers.values.map((e) async {
if (e.client == null) {
return;
}