Skip to main content

pick_and_upload

Function pick_and_upload 

Source
pub fn pick_and_upload(
    parent: &ApplicationWindow,
    ctx: Arc<AppContext>,
    album: Option<(String, String)>,
)
Expand description

Open the OS file picker and enqueue every chosen file for upload.

album carries the target album id and display name when the caller is in a selected-album view; otherwise pass None and files go to the library.