gpui_macos: Fix compilation on x86_64 (#52028)

Release Notes:

- N/A or Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth authored and GitHub committed 2026-03-20 16:16:22 +00:00
1 parent 8f6e93974b
commit b04e7f0930
1 file changed
+1 -1
+1 -1
View File
@@ -395,7 +395,7 @@ impl MacPlatform {
if *checked {
item.setState_(NSVisualEffectState::Active);
}
item.setEnabled_(!disabled);
item.setEnabled_(if *disabled { NO } else { YES });
let tag = actions.len() as NSInteger;
let _: () = msg_send![item, setTag: tag];