[Client] Fix bug

This commit is contained in:
syuilo 2018-11-09 18:25:21 +09:00
parent 5072b53a94
commit 0768b46217
4 changed files with 5 additions and 3 deletions

View File

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

View File

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

View File

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

View File

@ -24,6 +24,7 @@
<ui-switch v-model="contrastedAcct">{{ $t('contrasted-acct') }}</ui-switch> <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="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="useOsDefaultEmojis">{{ $t('@.use-os-default-emojis') }}</ui-switch>
<ui-switch v-model="iLikeSushi">{{ $t('@.i-like-sushi') }}</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="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> <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: { methods: {
signout() { signout() {
this.$root.os.signout(); this.$root.signout();
}, },
checkForUpdate() { checkForUpdate() {