fix: snippet tag

This commit is contained in:
lollipopkit
2024-01-25 20:49:40 +08:00
parent 292a29a611
commit 47560173f9
6 changed files with 43 additions and 33 deletions

View File

@@ -126,7 +126,7 @@ class Backup {
Stores.snippet.put(s);
}
}
// ServerPrivateInfo
final nowSpis = Stores.server.fetch().toSet();
final bakSpis = spis.toSet();
@@ -144,7 +144,7 @@ class Backup {
Stores.server.put(s);
}
}
// PrivateKeyInfo
final nowKeys = Stores.key.fetch().toSet();
final bakKeys = keys.toSet();
@@ -162,7 +162,7 @@ class Backup {
Stores.key.put(s);
}
}
// History
final nowHistory = Stores.history.box.keys.toSet();
final bakHistory = history.keys.toSet();
@@ -180,7 +180,7 @@ class Backup {
Stores.history.box.put(s, history[s]);
}
}
// Container
final nowContainer = Stores.docker.box.keys.toSet();
final bakContainer = container.keys.toSet();

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 719;
static const int build = 720;
static const String engine = "3.16.8";
static const String buildAt = "2024-01-23 22:32:15";
static const String buildAt = "2024-01-25 20:01:01";
static const int modifications = 3;
static const int script = 36;
}

View File

@@ -201,10 +201,10 @@ class SettingStore extends PersistentStore {
late final showSuspendTip = property('showSuspendTip', true);
/// Webdav sync
late final webdavSync = property('webdavSync', false, updateLastModified: false);
late final webdavUrl = property('webdavUrl', '', updateLastModified: false);
late final webdavUser = property('webdavUser', '', updateLastModified: false);
late final webdavPwd = property('webdavPwd', '', updateLastModified: false);
late final webdavSync = property('webdavSync', false);
late final webdavUrl = property('webdavUrl', '');
late final webdavUser = property('webdavUser', '');
late final webdavPwd = property('webdavPwd', '');
/// Whether collapse UI items by default
late final collapseUIDefault = property('collapseUIDefault', true);