Merge pull request #5557 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

View File

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