diff --git a/src/ui_interface.rs b/src/ui_interface.rs index dc3a02c7a..3d076255f 100644 --- a/src/ui_interface.rs +++ b/src/ui_interface.rs @@ -338,10 +338,13 @@ pub fn set_socks(proxy: String, username: String, password: String) { .ok(); } -#[cfg(not(any(target_os = "android", target_os = "ios")))] #[inline] pub fn is_installed() -> bool { - crate::platform::is_installed() + #[cfg(not(any(target_os = "android", target_os = "ios")))] + { + return crate::platform::is_installed(); + } + false } #[inline]