This commit is contained in:
rustdesk 2023-06-24 16:16:29 +08:00
parent 233e9d80e6
commit 6e78a7debf

View File

@ -949,11 +949,11 @@ async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver<ipc:
#[allow(dead_code)]
pub fn option_synced() -> bool {
#[cfg(not(any(target_os = "android", feature = "flutter")))]
#[cfg(not(any(target_os = "android", feature = "ios")))]
{
OPTION_SYNCED.lock().unwrap().clone()
}
#[cfg(any(target_os = "android", feature = "flutter"))]
#[cfg(any(target_os = "android", feature = "ios"))]
{
true
}