Skip to content

Commit

Permalink
Fix test and removed console statements
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Dec 24, 2019
1 parent dd84d93 commit afad456
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function createWindow () {
// Load the url of the dev server if in development mode
win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
if (!process.env.IS_TEST) win.webContents.openDevTools()
if (process.env.IS_TEST) win.show()
} else {
createProtocol('app')
// Load the index.html when not in development
Expand Down
2 changes: 0 additions & 2 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ export default new Vuex.Store({
state.settingsThemeDark = !state.settingsThemeDark
},
setThemeAccent (state, { dark, light }) {
console.log(`Set accent. This is ${dark} and this is ${light}.`)
state.settingsThemeAccentColorDark = dark
state.settingsThemeAccentColorLight = light
},
setThemePrimary (state, { dark, light }) {
console.log(`Set primary. This is ${dark} and this is ${light}.`)
state.settingsThemePrimaryColorDark = dark
state.settingsThemePrimaryColorLight = light
}
Expand Down

0 comments on commit afad456

Please sign in to comment.