fix: backup merge

This commit is contained in:
lollipopkit
2024-01-27 21:11:40 +08:00
parent dacf8f0864
commit b08265221f
13 changed files with 115 additions and 130 deletions

View File

@@ -13,6 +13,7 @@ class DockerStore extends PersistentStore {
void put(String id, String host) {
box.put(id, host);
box.updateLastModified();
}
ContainerType getType([String? id]) {
@@ -26,5 +27,6 @@ class DockerStore extends PersistentStore {
void setType(String? id, ContainerType type) {
box.put(_keyConfig + (id ?? ''), type.toString());
box.updateLastModified();
}
}