data exporting & importing

This commit is contained in:
nyne
2024-11-02 20:12:48 +08:00
parent 19a93cbbce
commit c4d867db89
11 changed files with 139 additions and 8 deletions

View File

@@ -172,6 +172,8 @@ class HistoryManager with ChangeNotifier {
max_page int
);
""");
notifyListeners();
}
/// add history. if exists, update time.
@@ -275,4 +277,8 @@ class HistoryManager with ChangeNotifier {
""");
return res.first[0] as int;
}
void close() {
_db.dispose();
}
}