Skip to content

Commit afad456

Browse files
committed
Fix test and removed console statements
1 parent dd84d93 commit afad456

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/background.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function createWindow () {
4747
// Load the url of the dev server if in development mode
4848
win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
4949
if (!process.env.IS_TEST) win.webContents.openDevTools()
50+
if (process.env.IS_TEST) win.show()
5051
} else {
5152
createProtocol('app')
5253
// Load the index.html when not in development

src/store/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ export default new Vuex.Store({
3030
state.settingsThemeDark = !state.settingsThemeDark
3131
},
3232
setThemeAccent (state, { dark, light }) {
33-
console.log(`Set accent. This is ${dark} and this is ${light}.`)
3433
state.settingsThemeAccentColorDark = dark
3534
state.settingsThemeAccentColorLight = light
3635
},
3736
setThemePrimary (state, { dark, light }) {
38-
console.log(`Set primary. This is ${dark} and this is ${light}.`)
3937
state.settingsThemePrimaryColorDark = dark
4038
state.settingsThemePrimaryColorLight = light
4139
}

0 commit comments

Comments
 (0)