diff options
author | 2019-08-22 21:40:07 +0200 | |
---|---|---|
committer | 2019-08-22 21:40:07 +0200 | |
commit | 30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f (patch) | |
tree | 41dde64402f6a5ff93796ff5c541bf4dcf766542 /src/lib/Tray.js | |
parent | Re-adding package-lock (diff) | |
download | ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.gz ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.zst ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.zip |
Fix eslint errors
Diffstat (limited to 'src/lib/Tray.js')
-rw-r--r-- | src/lib/Tray.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Tray.js b/src/lib/Tray.js index 28ec55eb7..90974de3f 100644 --- a/src/lib/Tray.js +++ b/src/lib/Tray.js | |||
@@ -84,7 +84,7 @@ export default class TrayIcon { | |||
84 | } | 84 | } |
85 | 85 | ||
86 | _getAsset(type, asset) { | 86 | _getAsset(type, asset) { |
87 | let platform = process.platform; | 87 | let { platform } = process; |
88 | 88 | ||
89 | if (platform === 'darwin' && systemPreferences.isDarkMode()) { | 89 | if (platform === 'darwin' && systemPreferences.isDarkMode()) { |
90 | platform = `${platform}-dark`; | 90 | platform = `${platform}-dark`; |