Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit fe83d6a

Browse files
committed
Hide the autoSubmenu, too, on the "other" Mac
1 parent 3873d24 commit fe83d6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

FluffyDisplay/AppDelegate.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NetServiceDelegate, NetServi
358358
if let source = stringInDict(dict, "source") {
359359
if source == ns.name {
360360
// We now know that this Mac is not the "main" one, so we have no need
361-
// for the newSubmenu or deleteSubmenu on this Mac.
361+
// for the newSubmenu, autoSubmenu, or deleteSubmenu on this Mac.
362362
newSubmenu.isHidden = true
363+
autoSubmenu.isHidden = true
363364
deleteSubmenu.isHidden = true
364365

365366
debug("Will open Screen Sharing to \(sender.name).\(sender.domain)")

0 commit comments

Comments
 (0)