fix ios build

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-08-30 22:40:55 +08:00
parent 85b5c60d60
commit a75d73b8ac

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()
}