summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-05-25 15:06:35 +0900
committerGitHub <noreply@github.com>2018-05-25 15:06:35 +0900
commitdf89f5c8b810ec06d34d4b5cf10acaf0da8d44c1 (patch)
tree91315c827dc5a385cb4d42c5572b38533a808a57
parentMerge pull request #1644 from syuilo/l10n_master (diff)
downloadsharkey-df89f5c8b810ec06d34d4b5cf10acaf0da8d44c1.tar.gz
sharkey-df89f5c8b810ec06d34d4b5cf10acaf0da8d44c1.tar.bz2
sharkey-df89f5c8b810ec06d34d4b5cf10acaf0da8d44c1.zip
Update welcome.vue
-rw-r--r--src/client/app/desktop/views/pages/welcome.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue
index 83c668a9cf..91ad4b61c3 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
+ });
}
}
});