mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-24 16:11:43 +00:00
macOS: hide settings menu icon on macOS 27
Settings appears to be somehow special and it's not hidden previously.
This commit is contained in:
@@ -7,5 +7,10 @@ extension NSMenuItem {
|
||||
if #available(macOS 26, *) {
|
||||
image = NSImage(systemSymbolName: symbol, accessibilityDescription: title)
|
||||
}
|
||||
#if compiler(>=6.4)
|
||||
if #available(macOS 27.0, *) {
|
||||
preferredImageVisibility = .automatic
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user