File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,18 +121,18 @@ fn build_tree_recursive_android(
121121
122122#[ tauri:: command]
123123async fn build_file_tree (
124- _app : tauri:: AppHandle ,
124+ app : tauri:: AppHandle ,
125125 path : String ,
126- _document_top_tree_uri : Option < String > ,
126+ document_top_tree_uri : Option < String > ,
127127) -> Result < Vec < FileNode > , String > {
128128 let nodes;
129129
130130 #[ cfg( target_os = "android" ) ]
131131 {
132132 // On Android, we need the app handle and args.
133- // But we renamed arguments to start with _.
134133 // We can use them directly.
135- let mut unsorted_nodes = build_tree_recursive_android ( _app, path, _document_top_tree_uri) . await ?;
134+ // (Parameter names no longer start with _.)
135+ let mut unsorted_nodes = build_tree_recursive_android ( app, path, document_top_tree_uri) . await ?;
136136 sort_nodes ( & mut unsorted_nodes) ;
137137 nodes = unsorted_nodes;
138138 }
You can’t perform that action at this time.
0 commit comments