Merge pull request #509 from h3poteto/iss-505

closes #505 Update default toot visibility of new toot
This commit is contained in:
AkiraFukushima 2018-08-18 00:17:31 +09:00 committed by GitHub
commit a0c53e6857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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)
})
})