Skip to content

Commit

Permalink
Merge pull request #3 from jcoynel/fix-tooltip-not-updating
Browse files Browse the repository at this point in the history
Fix tooltip not updating on listening mode change
  • Loading branch information
insidegui authored Sep 3, 2020
2 parents ca56b82 + 98f4381 commit d4a12ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NoiseBuddy/Controllers/MenuBarUIController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ final class MenuBarUIController: NoiseControlUIController {

override func handleListeningModeDidChange(_ device: NCDevice) {
item?.button?.image = device.listeningMode.menuBarImage
item?.button?.toolTip = currentDevice?.tooltip
}

override func handleDeviceDidChange(_ device: NCDevice?) {
Expand Down

0 comments on commit d4a12ff

Please # to comment.