Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Commit

Permalink
Removed darwin suffix on tray images
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas101 committed Feb 3, 2016
1 parent f1f4488 commit f5279b1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
File renamed without changes
File renamed without changes
7 changes: 1 addition & 6 deletions src/mailbox/ui/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f5279b1

Please sign in to comment.