Skip to content

Commit

Permalink
Merge pull request #1085 from shatyuka/macos_tray_tooltip
Browse files Browse the repository at this point in the history
fix: do not show tray tooltip for macOS
  • Loading branch information
agalwood authored Nov 18, 2021
2 parents 732327f + c70a35e commit 559df6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/ui/TrayManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ export default class TrayManager extends EventEmitter {
tray = new Tray(icon)
// tray.setPressedImage(inverseIcon)

tray.setToolTip('Motrix')
if (!this.macOS) {
tray.setToolTip('Motrix')
}
}

handleEvents () {
Expand Down

0 comments on commit 559df6b

Please sign in to comment.