diff options
Diffstat (limited to 'src/electron')
-rw-r--r-- | src/electron/Settings.js | 1 | ||||
-rw-r--r-- | src/electron/ipc-api/download.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/electron/Settings.js b/src/electron/Settings.js index ed9733bfe..63f43b6b7 100644 --- a/src/electron/Settings.js +++ b/src/electron/Settings.js | |||
@@ -8,6 +8,7 @@ const debug = require('debug')('Franz:Settings'); | |||
8 | 8 | ||
9 | export default class Settings { | 9 | export default class Settings { |
10 | type = ''; | 10 | type = ''; |
11 | |||
11 | @observable store = {}; | 12 | @observable store = {}; |
12 | 13 | ||
13 | constructor(type, defaultState = {}) { | 14 | constructor(type, defaultState = {}) { |
diff --git a/src/electron/ipc-api/download.js b/src/electron/ipc-api/download.js index 9e504834d..e6703af2d 100644 --- a/src/electron/ipc-api/download.js +++ b/src/electron/ipc-api/download.js | |||
@@ -12,7 +12,7 @@ function decodeBase64Image(dataString) { | |||
12 | return new Error('Invalid input string'); | 12 | return new Error('Invalid input string'); |
13 | } | 13 | } |
14 | 14 | ||
15 | return new Buffer(matches[2], 'base64'); | 15 | return Buffer.from(matches[2], 'base64'); |
16 | } | 16 | } |
17 | 17 | ||
18 | export default (params) => { | 18 | export default (params) => { |