From 7b8a2aef0f9ed4d848d749769fd9dc6774b1e65a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 27 Sep 2018 14:52:10 +0900 Subject: [PATCH] wip --- locales/ja-JP.yml | 1 - .../app/desktop/views/components/settings.vue | 8 +------- .../views/components/widget-container.vue | 20 +++---------------- .../app/desktop/views/components/window.vue | 15 ++++---------- .../desktop/views/pages/deck/deck.column.vue | 2 +- .../pages/user/user.followers-you-know.vue | 2 +- .../desktop/views/pages/user/user.friends.vue | 2 +- .../desktop/views/pages/user/user.photos.vue | 2 +- src/client/app/store.ts | 1 - src/client/theme/dark.json | 3 +++ src/client/theme/light.json | 3 +++ 11 files changed, 18 insertions(+), 41 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index db2a15522..f5d0a180d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -784,7 +784,6 @@ desktop/views/components/settings.vue: rounded-corners: "UIの角を丸める" circle-icons: "円形のアイコンを使用" contrasted-acct: "ユーザー名にコントラストを付ける" - gradient-window-header: "ウィンドウのタイトルバーにグラデーションを使用" post-form-on-timeline: "タイムライン上部に投稿フォームを表示する" suggest-recent-hashtags: "最近のハッシュタグを投稿フォームに表示する" show-clock-on-header: "右上に時計を表示する" diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index 4efaa75c4..e95e7a735 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -66,7 +66,6 @@ %i18n:common.reduce-motion% %i18n:@contrasted-acct% %i18n:common.show-full-acct% - %i18n:@gradient-window-header% %i18n:common.i-like-sushi% %i18n:@post-form-on-timeline% @@ -421,12 +420,7 @@ export default Vue.extend({ disableViaMobile: { get() { return this.$store.state.settings.disableViaMobile; }, set(value) { this.$store.dispatch('settings/set', { key: 'disableViaMobile', value }); } - }, - - gradientWindowHeader: { - get() { return this.$store.state.settings.gradientWindowHeader; }, - set(value) { this.$store.dispatch('settings/set', { key: 'gradientWindowHeader', value }); } - }, + } }, created() { (this as any).os.getMeta().then(meta => { diff --git a/src/client/app/desktop/views/components/widget-container.vue b/src/client/app/desktop/views/components/widget-container.vue index 156823799..cfcb2785c 100644 --- a/src/client/app/desktop/views/components/widget-container.vue +++ b/src/client/app/desktop/views/components/widget-container.vue @@ -1,6 +1,6 @@