diff --git a/src/content/docs/features/dialog.mdx b/src/content/docs/features/dialog.mdx index 4f13f68277..82d96836ad 100644 --- a/src/content/docs/features/dialog.mdx +++ b/src/content/docs/features/dialog.mdx @@ -255,7 +255,7 @@ let file_path = app.dialog().file().blocking_pick_file(); // return a file_path `Option`, or `None` if the user closes the dialog ``` -If you need a non blocking operation you can use `show()` instead: +If you need a non blocking operation you can use `pick_file()` instead: ```rust use tauri_plugin_dialog::DialogExt;