mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
fix android compile issue
This commit is contained in:
parent
f5a9469218
commit
fea0171486
1 changed files with 5 additions and 1 deletions
|
|
@ -339,8 +339,12 @@ pub fn event_to_key_event(event: &Event) -> Option<KeyEvent> {
|
|||
translate_keyboard_mode(event, key_event)?
|
||||
}
|
||||
_ => {
|
||||
let res;
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
legacy_keyboard_mode(event, key_event)?
|
||||
res = legacy_keyboard_mode(event, key_event)?;
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
res = None;
|
||||
res
|
||||
}
|
||||
};
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue