From 88c96cb304f36d50c9591fed05c5ae7c6b371761 Mon Sep 17 00:00:00 2001 From: webfansplz <308241863@qq.com> Date: Sun, 15 Jan 2023 22:19:22 +0800 Subject: [PATCH] refactor: preferences settings (#1173) --- components/account/AccountPostsFollowers.vue | 2 +- components/status/StatusActions.vue | 8 ++--- components/status/StatusPreviewCard.vue | 2 +- components/timeline/TimelinePaginator.vue | 2 +- composables/settings/definition.ts | 22 ++++-------- composables/settings/storage.ts | 37 +++++-------------- layouts/default.vue | 4 +-- locales/ar-EG.json | 23 +++++------- locales/en-US.json | 23 +++++------- locales/es-ES.json | 23 +++++------- locales/fr-FR.json | 23 +++++------- locales/tr-TR.json | 23 +++++------- locales/zh-CN.json | 15 ++++---- locales/zh-TW.json | 23 +++++------- pages/settings.vue | 6 ---- pages/settings/preferences/index.vue | 38 ++++++++++++++------ pages/settings/wellness/index.vue | 37 ------------------- 17 files changed, 108 insertions(+), 203 deletions(-) delete mode 100644 pages/settings/wellness/index.vue diff --git a/components/account/AccountPostsFollowers.vue b/components/account/AccountPostsFollowers.vue index 98dcd4c2..d647bd62 100644 --- a/components/account/AccountPostsFollowers.vue +++ b/components/account/AccountPostsFollowers.vue @@ -40,7 +40,7 @@ const userSettings = useUserSettings() {
{ :command="command" @click="toggleReblog()" > -