From df89f5c8b810ec06d34d4b5cf10acaf0da8d44c1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 25 May 2018 15:06:35 +0900 Subject: [PATCH] Update welcome.vue --- src/client/app/desktop/views/pages/welcome.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue index 83c668a9c..91ad4b61c 100644 --- a/src/client/app/desktop/views/pages/welcome.vue +++ b/src/client/app/desktop/views/pages/welcome.vue @@ -50,6 +50,10 @@ export default Vue.extend({ this.$modal.show('signin'); }, dark() { + this.$store.commit('device/set', { + key: 'darkmode', + value: !this.$store.state.device.darkmode + }); } } });