fix build, android

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow committed 2023-10-14 12:26:27 +08:00
1 parent 3bb7123dd5
commit c10fc26cce
4 files changed
+10 -5

No files matched your search

+1
View File
@@ -214,6 +214,7 @@ static mut IS_0X021D_DOWN: bool = false;
#[cfg(target_os = "macos")]
static mut IS_LEFT_OPTION_DOWN: bool = false;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
fn get_keyboard_mode() -> String {
#[cfg(not(any(feature = "flutter", feature = "cli")))]
if let Some(session) = CUR_SESSION.lock().unwrap().as_ref() {