diff --git a/src/keyboard.rs b/src/keyboard.rs index 72efac381..2c09258d8 100644 --- a/src/keyboard.rs +++ b/src/keyboard.rs @@ -343,7 +343,7 @@ pub fn event_to_key_event(event: &Event) -> Option { #[cfg(not(any(target_os = "android", target_os = "ios")))] res = legacy_keyboard_mode(event, key_event)?; #[cfg(any(target_os = "android", target_os = "ios"))] - res = None; + res = None?; res } };