Commit b36d3103 authored by HappyTobi's avatar HappyTobi

[FIX] tray linting error

parent dbf786f0
......@@ -157,7 +157,7 @@ function showTrayAlert (badge, status = 'online') {
trayTitle = `${statusBullet[status]} ${countColor}${badge.title}`;
}
remote.app.dock.setBadge(badge.title);
if(trayDisplayed) {
if (trayDisplayed) {
mainWindow.tray.setTitle(trayTitle);
}
}
......@@ -166,7 +166,7 @@ function showTrayAlert (badge, status = 'online') {
remote.app.setBadgeCount(badge.count);
}
if(trayDisplayed) {
if (trayDisplayed) {
mainWindow.tray.setImage(getTrayImagePath(badge));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment