Refactor the simplified playlist function

This commit is contained in:
Oscar Linderholm
2019-04-09 21:23:04 +02:00
committed by Henrik Friedrichsen
parent 0f0b2f3e2a
commit 5981b08458
4 changed files with 42 additions and 18 deletions

View File

@@ -129,7 +129,7 @@ impl SearchView {
.playlists
.items
.iter()
.map(|sp| Playlists::process_playlist(sp, &&spotify))
.map(|sp| Playlists::process_simplified_playlist(sp, &&spotify))
.collect();
let mut r = playlists.write().unwrap();
*r = pls;