opt.: sync immediately after changes (#577)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-09-14 17:08:51 +08:00
committed by GitHub
parent d611fdcd50
commit 90b88ed795
17 changed files with 64 additions and 124 deletions

View File

@@ -46,7 +46,9 @@ class _MapHistory {
}
class HistoryStore extends PersistentStore {
HistoryStore() : super('history');
HistoryStore._() : super('history');
static final instance = HistoryStore._();
/// Paths that user has visited by 'Locate' button
late final sftpGoPath = _ListHistory(box: box, name: 'sftpPath');