Fixes reopenning after back button
This commit is contained in:
1 parent
a152b497fb
commit
fa20e84bfe
2 files changed
+9
-1
No files matched your search
@@ -55,6 +55,10 @@ export async function openDb (hash) {
|
||||
return true
|
||||
}
|
||||
|
||||
export function closeDb() {
|
||||
db.close()
|
||||
}
|
||||
|
||||
export function getBleedingDaysSortedByDate() {
|
||||
return db.objects('CycleDay').filtered('bleeding != null').sorted('date', true)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user