diff options
author | 2022-07-25 08:16:50 +0530 | |
---|---|---|
committer | 2022-07-25 08:17:10 +0530 | |
commit | cf282aa351cbc58691fb1b2fb4764830247cdbe8 (patch) | |
tree | 1a6ac4c9abd8b3de9d358016a5065da86cdd8510 /src/lib | |
parent | 6.0.1-nightly.3 [skip ci] (diff) | |
download | ferdium-app-cf282aa351cbc58691fb1b2fb4764830247cdbe8.tar.gz ferdium-app-cf282aa351cbc58691fb1b2fb4764830247cdbe8.tar.zst ferdium-app-cf282aa351cbc58691fb1b2fb4764830247cdbe8.zip |
eslint needs to be executed at the top-level to actually workv6.0.1-nightly.3
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Tray.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/lib/Tray.js b/src/lib/Tray.js index 0e935d891..fffdec64d 100644 --- a/src/lib/Tray.js +++ b/src/lib/Tray.js | |||
@@ -224,15 +224,9 @@ export default class TrayIcon { | |||
224 | _getAsset(type, asset) { | 224 | _getAsset(type, asset) { |
225 | let { platform } = process; | 225 | let { platform } = process; |
226 | 226 | ||
227 | if ( | 227 | if (isMac && macosVersion.isGreaterThanOrEqualTo('11')) { |
228 | isMac && | ||
229 | macosVersion.isGreaterThanOrEqualTo('11') | ||
230 | ) { | ||
231 | platform = `${platform}-20`; | 228 | platform = `${platform}-20`; |
232 | } else if ( | 229 | } else if (isMac && nativeTheme.shouldUseDarkColors) { |
233 | isMac && | ||
234 | nativeTheme.shouldUseDarkColors | ||
235 | ) { | ||
236 | platform = `${platform}-dark`; | 230 | platform = `${platform}-dark`; |
237 | } | 231 | } |
238 | 232 | ||