mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: #8
This commit is contained in:
@@ -112,9 +112,9 @@ class ServerProvider extends BusyProvider {
|
||||
throw RangeError.index(idx, _servers);
|
||||
}
|
||||
_servers[idx].spi = newSpi;
|
||||
locator<ServerStore>().update(old, newSpi);
|
||||
_servers[idx].client = await genClient(newSpi);
|
||||
notifyListeners();
|
||||
locator<ServerStore>().update(old, newSpi);
|
||||
refreshData(spi: newSpi);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user