diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts index bbe28960fd..cbb4400a73 100644 --- a/src/web/app/common/mios.ts +++ b/src/web/app/common/mios.ts @@ -289,7 +289,8 @@ export default class MiOS extends EventEmitter { me.client_settings = Object.assign({ fetchOnScroll: true, showMaps: true, - showPostFormOnTopOfTl: false + showPostFormOnTopOfTl: false, + gradientWindowHeader: false }, me.client_settings); // ローカルストレージにキャッシュ diff --git a/src/web/app/desktop/views/components/settings.vue b/src/web/app/desktop/views/components/settings.vue index 3e2d6850b7..d09b325323 100644 --- a/src/web/app/desktop/views/components/settings.vue +++ b/src/web/app/desktop/views/components/settings.vue @@ -34,6 +34,7 @@ 位置情報が添付された投稿のマップを自動的に展開します。 +
@@ -258,6 +259,12 @@ export default Vue.extend({ value: v }); }, + onChangeGradientWindowHeader(v) { + (this as any).api('i/update_client_setting', { + name: 'gradientWindowHeader', + value: v + }); + }, onChangeDisableViaMobile(v) { (this as any).api('i/update_client_setting', { name: 'disableViaMobile', diff --git a/src/web/app/desktop/views/components/widget-container.vue b/src/web/app/desktop/views/components/widget-container.vue index 7b4e1f55f0..c08e58e218 100644 --- a/src/web/app/desktop/views/components/widget-container.vue +++ b/src/web/app/desktop/views/components/widget-container.vue @@ -1,6 +1,6 @@