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:
Lukas
2026-08-06 11:44:54 +02:00
parent ec58fbc6a2
commit 301bd6f8b0

View File

@@ -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
}
}