summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/theme-editor.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/pages/theme-editor.vue')
-rw-r--r--packages/frontend/src/pages/theme-editor.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/theme-editor.vue b/packages/frontend/src/pages/theme-editor.vue
index 64e16987a9..43ac5f38d7 100644
--- a/packages/frontend/src/pages/theme-editor.vue
+++ b/packages/frontend/src/pages/theme-editor.vue
@@ -201,9 +201,9 @@ async function saveAs() {
await addTheme(theme.value);
applyTheme(theme.value);
if (store.s.darkMode) {
- prefer.set('darkTheme', theme.value);
+ prefer.commit('darkTheme', theme.value);
} else {
- prefer.set('lightTheme', theme.value);
+ prefer.commit('lightTheme', theme.value);
}
changed.value = false;
os.alert({