Add dark mode toggle
This commit is contained in:
parent
53267d755b
commit
a90fd5d26f
4 changed files with 207 additions and 170 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue