diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/electron/ipc-api/appIndicator.js | 2 | ||||
-rw-r--r-- | src/electron/ipc-api/download.js | 2 | ||||
-rw-r--r-- | src/stores/ServicesStore.js | 2 | ||||
-rw-r--r-- | src/stores/SettingsStore.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/electron/ipc-api/appIndicator.js b/src/electron/ipc-api/appIndicator.js index e568bf35d..9957ef5fc 100644 --- a/src/electron/ipc-api/appIndicator.js +++ b/src/electron/ipc-api/appIndicator.js | |||
@@ -35,7 +35,7 @@ export default (params) => { | |||
35 | || process.platform === 'linux') | 35 | || process.platform === 'linux') |
36 | && typeof (args.indicator) === 'number' | 36 | && typeof (args.indicator) === 'number' |
37 | ) { | 37 | ) { |
38 | app.setBadgeCount(args.indicator); | 38 | app.badgeCount = args.indicator; |
39 | } | 39 | } |
40 | 40 | ||
41 | if (process.platform === 'win32') { | 41 | if (process.platform === 'win32') { |
diff --git a/src/electron/ipc-api/download.js b/src/electron/ipc-api/download.js index 01b81d388..36eca3c9f 100644 --- a/src/electron/ipc-api/download.js +++ b/src/electron/ipc-api/download.js | |||
@@ -22,7 +22,7 @@ export default (params) => { | |||
22 | const dl = await download(params.mainWindow, url, { | 22 | const dl = await download(params.mainWindow, url, { |
23 | saveAs: true, | 23 | saveAs: true, |
24 | }); | 24 | }); |
25 | debug('File saved to', dl.getSavePath()); | 25 | debug('File saved to', dl.savePath); |
26 | } else { | 26 | } else { |
27 | const extension = mime.extension(fileOptions.mime); | 27 | const extension = mime.extension(fileOptions.mime); |
28 | const filename = `${fileOptions.name}.${extension}`; | 28 | const filename = `${fileOptions.name}.${extension}`; |
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index fda18b514..e38b82f03 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -766,7 +766,7 @@ export default class ServicesStore extends Store { | |||
766 | const isMuted = isAppMuted || service.isMuted; | 766 | const isMuted = isAppMuted || service.isMuted; |
767 | 767 | ||
768 | if (isAttached) { | 768 | if (isAttached) { |
769 | service.webview.setAudioMuted(isMuted); | 769 | service.webview.audioMuted = isMuted; |
770 | } | 770 | } |
771 | }); | 771 | }); |
772 | } | 772 | } |
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 428b6342c..da63bc972 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -50,7 +50,7 @@ export default class SettingsStore extends Store { | |||
50 | () => { | 50 | () => { |
51 | const currentWindow = remote.getCurrentWindow(); | 51 | const currentWindow = remote.getCurrentWindow(); |
52 | currentWindow.setMenuBarVisibility(!this.all.app.autohideMenuBar); | 52 | currentWindow.setMenuBarVisibility(!this.all.app.autohideMenuBar); |
53 | currentWindow.setAutoHideMenuBar(this.all.app.autohideMenuBar); | 53 | currentWindow.autoHideMenuBar = this.all.app.autohideMenuBar; |
54 | }, | 54 | }, |
55 | ); | 55 | ); |
56 | 56 | ||