Fixes reopenning after back button
This commit is contained in:
@@ -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