This commit is contained in:
syuilo
2018-06-18 17:25:20 +09:00
parent 5a13964ced
commit 1496fdaf80
8 changed files with 24 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
<ui-switch v-model="darkmode">%i18n:@dark-mode%</ui-switch>
<ui-switch v-model="$store.state.settings.circleIcons" @change="onChangeCircleIcons">%i18n:@circle-icons%</ui-switch>
<ui-switch v-model="$store.state.settings.iLikeSushi" @change="onChangeILikeSushi">%i18n:common.i-like-sushi%</ui-switch>
<div>
<div>%i18n:@timeline%</div>
@@ -174,6 +175,13 @@ export default Vue.extend({
});
},
onChangeILikeSushi(v) {
this.$store.dispatch('settings/set', {
key: 'iLikeSushi',
value: v
});
},
onChangeShowReplyTarget(v) {
this.$store.dispatch('settings/set', {
key: 'showReplyTarget',