Update to librespot 0.4.0

Changes: https://github.com/librespot-org/librespot/compare/v0.3.1..v0.4.0
This commit is contained in:
Henrik Friedrichsen
2022-05-22 17:15:02 +02:00
parent 8fad4009d2
commit c41294cb8d
7 changed files with 348 additions and 95 deletions

View File

@@ -27,7 +27,7 @@ impl LibraryView {
.values()
.library_tabs
.clone()
.unwrap_or(Vec::from_iter(LibraryTab::iter()));
.unwrap_or_else(|| Vec::from_iter(LibraryTab::iter()));
for tab in selected_tabs {
match tab {