mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
auto scroll on apt/yum upgrading.
This commit is contained in:
@@ -139,6 +139,7 @@ class ServerProvider extends BusyProvider {
|
||||
|
||||
void delServer(ServerPrivateInfo info) {
|
||||
final idx = _servers.indexWhere((s) => s.info == info);
|
||||
if (idx == -1) return;
|
||||
_servers[idx].client?.close();
|
||||
_servers.removeAt(idx);
|
||||
notifyListeners();
|
||||
|
||||
Reference in New Issue
Block a user