mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-18 07:43:01 +08:00
fix compile again
This commit is contained in:
parent
e47d1c7dbe
commit
f0653bb10a
@ -339,12 +339,14 @@ 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")))]
|
||||
res = legacy_keyboard_mode(event, key_event)?;
|
||||
{
|
||||
legacy_keyboard_mode(event, key_event)?
|
||||
}
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
res = None?;
|
||||
res
|
||||
{
|
||||
None?
|
||||
}
|
||||
}
|
||||
};
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
|
Loading…
Reference in New Issue
Block a user