fix bug
This commit is contained in:
parent
43678ac801
commit
faf2c007aa
6 changed files with 69 additions and 44 deletions
|
|
@ -221,9 +221,9 @@ export default defineComponent({
|
|||
addTheme(this.theme);
|
||||
applyTheme(this.theme);
|
||||
if (this.$store.state.darkMode) {
|
||||
ColdDeviceStorage.set('darkTheme', this.theme.id);
|
||||
ColdDeviceStorage.set('darkTheme', this.theme);
|
||||
} else {
|
||||
ColdDeviceStorage.set('lightTheme', this.theme.id);
|
||||
ColdDeviceStorage.set('lightTheme', this.theme);
|
||||
}
|
||||
this.changed = false;
|
||||
os.dialog({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue