Dirty hack to store the app state and restore it at app startup.
This commit is contained in:
1 parent
acc1d7cc1e
commit
040122189c
4 files changed
+52
-4
No files matched your search
@@ -11,6 +11,7 @@ import {
|
||||
getAllGpxes,
|
||||
getAllGpxesWithSummary,
|
||||
} from '../db/gpx';
|
||||
import { getState, setState } from '../db/state';
|
||||
import { getTrk, putNewTrk } from '../db/trk';
|
||||
import { getTrkseg, appendTrkpt } from '../db/trkseg';
|
||||
import { getWpt, putWpt } from '../db/wpt';
|
||||
@@ -37,6 +38,8 @@ onmessage = async function (e) {
|
||||
getWpt,
|
||||
|
||||
putWpt,
|
||||
getState,
|
||||
setState,
|
||||
|
||||
getAndWatch,
|
||||
cancelWatch,
|
||||
|
||||
Reference in new issue
Block a user