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

@@ -6,6 +6,7 @@ class SnippetStore extends PersistentStore {
void put(Snippet snippet) {
box.put(snippet.name, snippet);
box.updateLastModified();
}
List<Snippet> fetch() {
@@ -22,5 +23,6 @@ class SnippetStore extends PersistentStore {
void delete(Snippet s) {
box.delete(s.name);
box.updateLastModified();
}
}