From 0768b46217755f144f049632495dd7e66e90f2c4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 9 Nov 2018 18:25:21 +0900 Subject: [PATCH] [Client] Fix bug --- src/client/app/desktop/views/components/ui.header.account.vue | 2 +- src/client/app/desktop/views/components/ui.sidebar.vue | 2 +- src/client/app/init.ts | 1 + src/client/app/mobile/views/pages/settings.vue | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/client/app/desktop/views/components/ui.header.account.vue b/src/client/app/desktop/views/components/ui.header.account.vue index 97496c6e1..79410273a 100644 --- a/src/client/app/desktop/views/components/ui.header.account.vue +++ b/src/client/app/desktop/views/components/ui.header.account.vue @@ -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', { diff --git a/src/client/app/desktop/views/components/ui.sidebar.vue b/src/client/app/desktop/views/components/ui.sidebar.vue index 76990fa5a..5b4646011 100644 --- a/src/client/app/desktop/views/components/ui.sidebar.vue +++ b/src/client/app/desktop/views/components/ui.sidebar.vue @@ -162,7 +162,7 @@ export default Vue.extend({ }, signout() { - this.$root.os.signout(); + this.$root.signout(); }, notifications() { diff --git a/src/client/app/init.ts b/src/client/app/init.ts index d5833019d..80451f696 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -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, diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue index 445471200..11fa3c31b 100644 --- a/src/client/app/mobile/views/pages/settings.vue +++ b/src/client/app/mobile/views/pages/settings.vue @@ -24,6 +24,7 @@ {{ $t('contrasted-acct') }} {{ $t('@.show-full-acct') }} {{ $t('@.use-os-default-emojis') }} + {{ $t('@.use-os-default-emojis') }} {{ $t('@.i-like-sushi') }} {{ $t('@.disable-animated-mfm') }} {{ $t('@.always-show-nsfw') }} ({{ $t('@.this-setting-is-this-device-only') }}) @@ -334,7 +335,7 @@ export default Vue.extend({ methods: { signout() { - this.$root.os.signout(); + this.$root.signout(); }, checkForUpdate() {