diff --git a/icons/tray_darwin.png b/icons/tray_22.png similarity index 100% rename from icons/tray_darwin.png rename to icons/tray_22.png diff --git a/icons/tray_darwin_active.png b/icons/tray_active_22.png similarity index 100% rename from icons/tray_darwin_active.png rename to icons/tray_active_22.png diff --git a/src/mailbox/ui/App.js b/src/mailbox/ui/App.js index 1820eb9e..fc3aab88 100644 --- a/src/mailbox/ui/App.js +++ b/src/mailbox/ui/App.js @@ -107,12 +107,7 @@ module.exports = React.createClass({ if (settingsStore.showTrayIcon()) { const currentPath = decodeURIComponent(window.location.href.replace('file://', '')) - let iconName - if (unread) { - iconName = 'tray_darwin_active.png' - } else { - iconName = 'tray_darwin.png' - } + const iconName = unread ? 'tray_active_22.png' : 'tray_22.png' const iconPath = path.join(path.dirname(currentPath), 'icons', iconName) if (this.appTray) {