style(mac-utils): fix formatting
This commit is contained in:
parent
9f368d8b87
commit
b0e836a7e7
|
@ -91,16 +91,12 @@ fn get_app_name_from_path(path: &str) -> Option<String> {
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
pub fn check_accessibility() -> bool {
|
pub fn check_accessibility() -> bool {
|
||||||
unsafe {
|
unsafe { ffi::mac_utils_check_accessibility() > 0 }
|
||||||
ffi::mac_utils_check_accessibility() > 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
pub fn prompt_accessibility() -> bool {
|
pub fn prompt_accessibility() -> bool {
|
||||||
unsafe {
|
unsafe { ffi::mac_utils_prompt_accessibility() > 0 }
|
||||||
ffi::mac_utils_prompt_accessibility() > 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user