fix(purchases): remove unused get_album_download_format_id accessor
The public getter was redundant: format-scoped completion gating reads the download format_id internally via track_status_scoped (s.album_format_id), so the accessor was never wired and only produced a dead_code warning. No behavior change. cargo check -p qbz-slint exit-0 in 2m14s; the port code is now warning-free (the remaining following_state/cached warnings are pre-existing, unrelated to purchases). cc
This commit is contained in:
1 file changed
-5
@@ -682,11 +682,6 @@ pub fn album_download_state(album_id: &str) -> Option<AlbumDownloadState> {
|
||||
with_store(|s| s.album(album_id))
|
||||
}
|
||||
|
||||
/// `getAlbumDownloadFormatId(albumId)` reader.
|
||||
pub fn get_album_download_format_id(album_id: &str) -> Option<u32> {
|
||||
with_store(|s| s.album_format_id(album_id))
|
||||
}
|
||||
|
||||
/// Cache the resolved format options for an OPEN per-track picker (keyed by
|
||||
/// `trackId`). `pick-format` reads these back so the chosen option's label is
|
||||
/// resolved without re-fetching the album (the Svelte original keeps the
|
||||
|
||||
Reference in new issue
Block a user