summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-29 07:05:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-29 07:05:56 +0900
commit2762b78bcca788ae7fb0a53b1913bf2207a66e8b (patch)
treeb3fd278265d81be4df8d9a7bc50a31eee36f7e70 /src/client
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadmisskey-2762b78bcca788ae7fb0a53b1913bf2207a66e8b.tar.gz
misskey-2762b78bcca788ae7fb0a53b1913bf2207a66e8b.tar.bz2
misskey-2762b78bcca788ae7fb0a53b1913bf2207a66e8b.zip
モバイルでもサウンドの設定を行えるように
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/mobile/views/pages/settings.vue11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue
index 6b82be099d..7437eb8b47 100644
--- a/src/client/app/mobile/views/pages/settings.vue
+++ b/src/client/app/mobile/views/pages/settings.vue
@@ -42,6 +42,12 @@
</ui-card>
<ui-card>
+ <div slot="title">%fa:volume-up% %i18n:@sound%</div>
+
+ <ui-switch v-model="enableSounds">%i18n:@enable-sounds%</ui-switch>
+ </ui-card>
+
+ <ui-card>
<div slot="title">%fa:language% %i18n:@lang%</div>
<ui-select v-model="lang" placeholder="%i18n:@auto%">
@@ -142,6 +148,11 @@ export default Vue.extend({
get() { return this.$store.state.device.lang; },
set(value) { this.$store.commit('device/set', { key: 'lang', value }); }
},
+
+ enableSounds: {
+ get() { return this.$store.state.device.enableSounds; },
+ set(value) { this.$store.commit('device/set', { key: 'enableSounds', value }); }
+ },
},
mounted() {