Unverified Commit fe86f0e9 authored by Tasso Evangelista's avatar Tasso Evangelista Committed by GitHub

Merge pull request #884 from RocketChat/fix/tray-icon-status

[FIX] Show tray icon status again
parents f46b7d25 05a25709
......@@ -24,7 +24,7 @@ const statusBullet = {
online: '\u001B[32m•',
away: '\u001B[33m•',
busy: '\u001B[31m•',
offline: '\u001B[30m•'
offline: '\u001B[37m•'
};
const messageCountColor = {
......@@ -131,7 +131,7 @@ function showTrayAlert (badge, status = 'online') {
return;
}
const trayDisplayed = localStorage.getItem('hideTray') === 'true';
const trayDisplayed = localStorage.getItem('hideTray') !== 'true';
const hasMentions = badge.showAlert && badge.count > 0;
if (!mainWindow.isFocused()) {
......
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