about summary refs log tree commit diff
path: root/src/state/models/root-store.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-30 15:48:34 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-30 15:48:34 -0600
commita90fd5d26f1a8aa5149627a68a8dd6b13b26fec5 (patch)
tree63097a51789ae7c54cf8ec24273b2846e30152c5 /src/state/models/root-store.ts
parent53267d755b583765d68062bd5879230d10a5dfa1 (diff)
downloadvoidsky-a90fd5d26f1a8aa5149627a68a8dd6b13b26fec5.tar.zst
Add dark mode toggle
Diffstat (limited to 'src/state/models/root-store.ts')
-rw-r--r--src/state/models/root-store.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts
index 26f947c56..54578b4a5 100644
--- a/src/state/models/root-store.ts
+++ b/src/state/models/root-store.ts
@@ -67,6 +67,7 @@ export class RootStoreModel {
       me: this.me.serialize(),
       nav: this.nav.serialize(),
       onboard: this.onboard.serialize(),
+      shell: this.shell.serialize(),
     }
   }
 
@@ -84,6 +85,9 @@ export class RootStoreModel {
       if (hasProp(v, 'onboard')) {
         this.onboard.hydrate(v.onboard)
       }
+      if (hasProp(v, 'shell')) {
+        this.shell.hydrate(v.shell)
+      }
     }
   }