Refactor
This commit is contained in:
@ -17,7 +17,7 @@ export default Vue.extend({
|
||||
},
|
||||
computed: {
|
||||
lightmode(): boolean {
|
||||
return localStorage.getItem('lightmode') == 'true';
|
||||
return this.$store.state.device.lightmode;
|
||||
},
|
||||
style(): any {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user