From af49f811c10faccf489091eae76bff365b5ca111 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sun, 19 Mar 2023 10:26:51 +0100 Subject: [PATCH] client: refactor away a variable --- packages/client/src/pages/settings/theme.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/pages/settings/theme.vue b/packages/client/src/pages/settings/theme.vue index cfc797f51..4777ae56e 100644 --- a/packages/client/src/pages/settings/theme.vue +++ b/packages/client/src/pages/settings/theme.vue @@ -51,7 +51,7 @@
- {{ i18n.ts._theme.manage }} + {{ i18n.ts._theme.manage }} {{ i18n.ts._theme.explore }} {{ i18n.ts._theme.install }} {{ i18n.ts._theme.make }} @@ -113,7 +113,6 @@ const lightThemeId = computed({ const darkMode = computed(defaultStore.makeGetterSetter('darkMode')); const syncDeviceDarkMode = computed(ColdDeviceStorage.makeGetterSetter('syncDeviceDarkMode')); const wallpaper = ref(localStorage.getItem('wallpaper')); -const themesCount = installedThemes.length; watch(syncDeviceDarkMode, () => { if (syncDeviceDarkMode.value) {