fix: ci, ios (#7940)

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2024-05-07 16:53:57 +08:00 committed by GitHub
parent 2c1595d0d5
commit 3be4bfc821
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -370,6 +370,7 @@ pub fn set_option(key: String, value: String) {
}
}
} else if &key == "audio-input" {
#[cfg(not(target_os = "ios"))]
crate::audio_service::restart();
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]