mirror of
https://github.com/italicsjenga/muda.git
synced 2025-01-11 04:11:32 +11:00
fix(macos): fix returning BOOL instead of bool
This commit is contained in:
parent
125628b1ff
commit
f5fb8b1df6
|
@ -93,7 +93,7 @@ impl TextMenuItem {
|
||||||
pub fn enabled(&self) -> bool {
|
pub fn enabled(&self) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
let enabled: BOOL = msg_send![self.ns_menu_item, isEnabled];
|
let enabled: BOOL = msg_send![self.ns_menu_item, isEnabled];
|
||||||
enabled
|
enabled == YES
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue