Skip to content

Commit 4d85afe

Browse files
committed
Add Error import for Android target in mobile.rs
Imported crate::Error for Android builds to ensure error handling is available when compiling for Android. No functional changes for other platforms.
1 parent bfd6cf9 commit 4d85afe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/mobile.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ use tauri::{
66
};
77

88
use crate::models::*;
9+
#[cfg(target_os = "android")]
10+
use crate::Error;
911

1012
#[cfg(target_os = "ios")]
1113
tauri::ios_plugin_binding!(init_plugin_cache);

0 commit comments

Comments
 (0)