[MM-36340] fix linux theme comparison (#1627)

This commit is contained in:
Guillermo Vayá 2021-06-10 15:36:51 +02:00 committed by GitHub
parent 92906248ba
commit 3aaf1797aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ export function refreshTrayImages(trayIconTheme) {
} }
case 'linux': case 'linux':
{ {
if (trayIconTheme.equals('dark')) { if (trayIconTheme === 'dark') {
trayImages = { trayImages = {
normal: nativeImage.createFromPath(path.resolve(assetsDir, 'linux', 'top_bar_dark_16.png')), normal: nativeImage.createFromPath(path.resolve(assetsDir, 'linux', 'top_bar_dark_16.png')),
unread: nativeImage.createFromPath(path.resolve(assetsDir, 'linux', 'top_bar_dark_unread_16.png')), unread: nativeImage.createFromPath(path.resolve(assetsDir, 'linux', 'top_bar_dark_unread_16.png')),