[MM-36340] fix linux theme comparison (#1627)
This commit is contained in:
parent
92906248ba
commit
3aaf1797aa
|
@ -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')),
|
||||||
|
|
Loading…
Reference in a new issue