From 3c5b80d0177f64a5df5f0938a9b614dfcb684a14 Mon Sep 17 00:00:00 2001 From: Scott Reimers Date: Wed, 22 Apr 2026 18:44:58 -0400 Subject: [PATCH] Fix Android pick_file trait imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AndroidFs trait must be in scope for show_open_file_dialog / read method resolution — AndroidFsExt alone isn't enough. Matches the existing share_file pattern that does use both traits. Caught on the v0.6.1 Android build; previous cargo check only validated the desktop target. Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/tauri-app/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tauri-app/src/lib.rs b/crates/tauri-app/src/lib.rs index 15a2eb5..142907e 100644 --- a/crates/tauri-app/src/lib.rs +++ b/crates/tauri-app/src/lib.rs @@ -1959,7 +1959,7 @@ async fn pick_file(app: tauri::AppHandle, title: String, filter_name: Option = match filter_ext.as_deref() { Some(exts) if exts.iter().any(|e| e == "zip") => vec!["application/zip", "application/octet-stream"], _ => vec!["*/*"],