Merge pull request from 21pages/fix

fix ios build
This commit is contained in:
RustDesk 2023-08-31 09:49:58 +08:00 committed by GitHub
commit e88e17a4b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,6 +157,7 @@ fn handle_config_options(config_options: HashMap<String, String>) {
Config::set_options(options); Config::set_options(options);
} }
#[cfg(not(any(target_os = "ios")))]
pub fn is_pro() -> bool { pub fn is_pro() -> bool {
PRO.lock().unwrap().clone() PRO.lock().unwrap().clone()
} }