summaryrefslogtreecommitdiff
path: root/src/client/app/mobile
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-05 19:20:35 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-05 19:20:35 +0900
commit65961bc15ba33151e6a2ac6da84c33e2af330af0 (patch)
treef0adde6108d1a2030b3653e5088b0a5360547a16 /src/client/app/mobile
parentRefactoring codes (diff)
downloadmisskey-65961bc15ba33151e6a2ac6da84c33e2af330af0.tar.gz
misskey-65961bc15ba33151e6a2ac6da84c33e2af330af0.tar.bz2
misskey-65961bc15ba33151e6a2ac6da84c33e2af330af0.zip
Refactoring & 設定でTwemojiを使うかどうか切り替えられるように
Diffstat (limited to 'src/client/app/mobile')
-rw-r--r--src/client/app/mobile/views/pages/settings.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue
index 10d13423a1..0463d9b3f4 100644
--- a/src/client/app/mobile/views/pages/settings.vue
+++ b/src/client/app/mobile/views/pages/settings.vue
@@ -23,6 +23,7 @@
<ui-switch v-model="reduceMotion">%i18n:common.reduce-motion% (%i18n:common.this-setting-is-this-device-only%)</ui-switch>
<ui-switch v-model="contrastedAcct">%i18n:@contrasted-acct%</ui-switch>
<ui-switch v-model="showFullAcct">%i18n:common.show-full-acct%</ui-switch>
+ <ui-switch v-model="useOsDefaultEmojis">%i18n:common.use-os-default-emojis%</ui-switch>
<ui-switch v-model="iLikeSushi">%i18n:common.i-like-sushi%</ui-switch>
<ui-switch v-model="disableAnimatedMfm">%i18n:common.disable-animated-mfm%</ui-switch>
<ui-switch v-model="alwaysShowNsfw">%i18n:common.always-show-nsfw% (%i18n:common.this-setting-is-this-device-only%)</ui-switch>
@@ -199,6 +200,11 @@ export default Vue.extend({
set(value) { this.$store.commit('device/set', { key: 'darkmode', value }); }
},
+ useOsDefaultEmojis: {
+ get() { return this.$store.state.device.useOsDefaultEmojis; },
+ set(value) { this.$store.commit('device/set', { key: 'useOsDefaultEmojis', value }); }
+ },
+
reduceMotion: {
get() { return this.$store.state.device.reduceMotion; },
set(value) { this.$store.commit('device/set', { key: 'reduceMotion', value }); }