[Client] Fix bug

This commit is contained in:
syuilo 2018-11-09 18:25:21 +09:00
parent 3f79c9ae49
commit 0b53ef9bae
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
4 changed files with 5 additions and 3 deletions

View file

@ -155,7 +155,7 @@ export default Vue.extend({
this.$root.new(MkSettingsWindow);
},
signout() {
this.$root.os.signout();
this.$root.signout();
},
dark() {
this.$store.commit('device/set', {

View file

@ -162,7 +162,7 @@ export default Vue.extend({
},
signout() {
this.$root.os.signout();
this.$root.signout();
},
notifications() {

View file

@ -290,6 +290,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS]) => void,
api: os.api,
getMeta: os.getMeta,
getMetaSync: os.getMetaSync,
signout: os.signout,
new(vm, props) {
const x = new vm({
parent: this,

View file

@ -24,6 +24,7 @@
<ui-switch v-model="contrastedAcct">{{ $t('contrasted-acct') }}</ui-switch>
<ui-switch v-model="showFullAcct">{{ $t('@.show-full-acct') }}</ui-switch>
<ui-switch v-model="useOsDefaultEmojis">{{ $t('@.use-os-default-emojis') }}</ui-switch>
<ui-switch v-model="useOsDefaultEmojis">{{ $t('@.use-os-default-emojis') }}</ui-switch>
<ui-switch v-model="iLikeSushi">{{ $t('@.i-like-sushi') }}</ui-switch>
<ui-switch v-model="disableAnimatedMfm">{{ $t('@.disable-animated-mfm') }}</ui-switch>
<ui-switch v-model="alwaysShowNsfw">{{ $t('@.always-show-nsfw') }} ({{ $t('@.this-setting-is-this-device-only') }})</ui-switch>
@ -334,7 +335,7 @@ export default Vue.extend({
methods: {
signout() {
this.$root.os.signout();
this.$root.signout();
},
checkForUpdate() {