From e47d1c7dbe843f952210de755a508fed89b21c07 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 21 Dec 2022 11:13:08 +0800 Subject: [PATCH] fix compile again --- src/keyboard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } };