Refactor needs_download and rename library.items to better convey usage (#466)
* Refactor * Rename items to playlists and update error message
This commit is contained in:
@@ -51,7 +51,7 @@ impl ContextMenu {
|
||||
let mut list_select: SelectView<Playlist> = SelectView::new();
|
||||
let current_user_id = library.user_id.as_ref().unwrap();
|
||||
|
||||
for list in library.items().iter() {
|
||||
for list in library.playlists().iter() {
|
||||
if current_user_id == &list.owner_id || list.collaborative {
|
||||
list_select.add_item(list.name.clone(), list.clone());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user