Skip to content

Commit

Permalink
fix(main:store): store selected theme #26
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Jan 22, 2020
1 parent 00f38a0 commit 5247c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/store/modules/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
},
setTheme ({ commit }, theme) {
commit('SET_THEME', theme)
electronStore.app.set('theme', theme)
electronStore.preferences.set('theme', theme)
},
async setShowTags ({ commit, dispatch, rootGetters }, bool) {
if (bool) {
Expand Down

0 comments on commit 5247c01

Please sign in to comment.