add preference persist / restore
This commit is contained in:
parent
66ca161ccd
commit
2060819700
4 changed files with 34 additions and 7 deletions
|
|
@ -27,6 +27,9 @@ function init() {
|
|||
db.admin.put("init", Date.now());
|
||||
db.admin.get("uses").then(v => db.admin.put("uses", (v||0) + 1));
|
||||
|
||||
// reload preferences
|
||||
api.prefs.restore();
|
||||
|
||||
// setup default workspace
|
||||
space.useDefaultKeys(false);
|
||||
space.sky.set({
|
||||
|
|
|
|||
Loading…
Reference in a new issue