fix: ThemeMode not works under copied data

This commit is contained in:
lollipopkit
2023-03-21 15:36:35 +08:00
parent 7732ce5dbb
commit 9e3afe98a9
6 changed files with 45 additions and 33 deletions

View File

@@ -87,13 +87,11 @@ class ServerProvider extends BusyProvider {
_servers[i].client?.close();
_servers[i].client = null;
}
notifyListeners();
return;
}
final idx = getServerIdx(spi.id);
_servers[idx].client?.close();
_servers[idx].client = null;
notifyListeners();
}
void addServer(ServerPrivateInfo spi) {

View File

@@ -2,8 +2,8 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 241;
static const int build = 243;
static const String engine = "Flutter 3.7.7 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 2ad6cd72c0 (13 days ago) • 2023-03-08 09:41:59 -0800\nEngine • revision 1837b5be5f\nTools • Dart 2.19.4 • DevTools 2.20.1\n";
static const String buildAt = "2023-03-21 15:00:34.919375";
static const int modifications = 6;
static const String buildAt = "2023-03-21 15:18:42.802605";
static const int modifications = 5;
}