From 8bb76da6b5efa0360e0860f9a96197684919c36c Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 7 Feb 2021 18:11:56 +0900 Subject: [PATCH] Tweak UI --- src/client/pages/settings/plugin.manage.vue | 10 +++++----- src/client/pages/settings/plugin.vue | 4 +++- src/client/pages/settings/theme.vue | 4 +++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/client/pages/settings/plugin.manage.vue b/src/client/pages/settings/plugin.manage.vue index b6946e30d..88eeef2bb 100644 --- a/src/client/pages/settings/plugin.manage.vue +++ b/src/client/pages/settings/plugin.manage.vue @@ -1,15 +1,11 @@ @@ -106,6 +106,7 @@ export default defineComponent({ const darkMode = computed(defaultStore.makeGetterSetter('darkMode')); const syncDeviceDarkMode = computed(ColdDeviceStorage.makeGetterSetter('syncDeviceDarkMode')); const wallpaper = ref(localStorage.getItem('wallpaper')); + const themesCount = installedThemes.value.length; watch(darkTheme, () => { if (defaultStore.state.darkMode) { @@ -150,6 +151,7 @@ export default defineComponent({ lightTheme, darkMode, syncDeviceDarkMode, + themesCount, wallpaper, setWallpaper(e) { selectFile(e.currentTarget || e.target, null, false).then(file => {