diff options
author | Daniel Peukert <dan.peukert@gmail.com> | 2020-02-13 10:23:13 +0100 |
---|---|---|
committer | Daniel Peukert <dan.peukert@gmail.com> | 2020-02-13 10:23:13 +0100 |
commit | d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766 (patch) | |
tree | 5af580728d2985e609d1a8ba4c3ce8c3e38a922e /src/electron/ipc-api/appIndicator.js | |
parent | Merge pull request #365 from getferdi/l10n_develop (diff) | |
download | ferdium-app-d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766.tar.gz ferdium-app-d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766.tar.zst ferdium-app-d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766.zip |
Replace deprecated Electron functions with properties
Diffstat (limited to 'src/electron/ipc-api/appIndicator.js')
-rw-r--r-- | src/electron/ipc-api/appIndicator.js | 2 |
1 files changed, 1 insertions, 1 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') { |