mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-09 00:48:12 +00:00
fix android compile issue
This commit is contained in:
1 parent
f5a9469218
commit
fea0171486
1 file changed
+5
-1
+5
-1
@@ -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")))]
|
||||
|
||||
Reference in new issue
Block a user