From c0947991f992b01e8835f924d37cb339eb1d7355 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sat, 18 Aug 2018 00:01:33 +0900 Subject: [PATCH] refs #505 Update default toot visibility of new toot --- src/renderer/store/App.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/store/App.js b/src/renderer/store/App.js index 1ea357d602..632b890b9c 100644 --- a/src/renderer/store/App.js +++ b/src/renderer/store/App.js @@ -32,6 +32,9 @@ const App = { }, updateDisplayNameStyle (state, value) { state.displayNameStyle = value + }, + updateTootVisibility (state, value) { + state.tootVisibility = value } }, actions: { @@ -55,6 +58,7 @@ const App = { commit('updateTheme', conf.general.theme) commit('updateDisplayNameStyle', conf.general.displayNameStyle) commit('updateFontSize', conf.general.fontSize) + commit('updateTootVisibility', conf.general.tootVisibility) resolve(conf) }) })