Skip to main content

merge_album_unified_page

Function merge_album_unified_page 

Source
async fn merge_album_unified_page(
    remote: Result<(Vec<LibraryAsset>, bool), String>,
    page: u32,
    ui: &Rc<LibraryWindowUi>,
    album_name: &str,
) -> Result<(Vec<LibraryAsset>, bool), String>
Expand description

Album-scoped variant of merge_unified_page: takes the album’s asset page from the remote API and overlays sync state from the album’s linked local folder only — never from siblings. Merge a page of remote album assets with local folder files linked to the album.