mac/menu: fix touch bar menu item

the check broke when the runtime check was removed, eg the menu item was
never added to the menu. since we only add the menu item to the config
when touch bar support is available the check is completely unnecessary.
This commit is contained in:
der richter 2024-03-03 16:31:31 +01:00
parent 035906dad5
commit 37990597c7
1 changed files with 0 additions and 6 deletions

View File

@ -257,12 +257,6 @@ class MenuBar: NSObject {
menuConfigs[menuConfigIndex].menuItem = item
for (subConfigIndex, subConfig) in (menuConfig.configs ?? []).enumerated() {
#if HAVE_MACOS_TOUCHBAR
if subConfig.action == "toggleTouchBarCustomizationPalette:" {
continue
}
#endif
if subConfig.name == "Show log File…" && ProcessInfo.processInfo.environment["MPVBUNDLE"] != "true" {
continue
}