From 2a3889003767575de17279c09161cce155fc18d1 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 25 Sep 2018 19:31:54 +0200 Subject: [PATCH] Track count for Spotify playlists --- Muse/Sources/Controllers/SpotifyHelper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Muse/Sources/Controllers/SpotifyHelper.swift b/Muse/Sources/Controllers/SpotifyHelper.swift index 3001ee0..1e2d510 100644 --- a/Muse/Sources/Controllers/SpotifyHelper.swift +++ b/Muse/Sources/Controllers/SpotifyHelper.swift @@ -359,6 +359,6 @@ extension SpotifyPlaylist { var playlist: Playlist { return Playlist(id: self.uri, name: self.name, - count: self.collectionTracks?.count ?? 0) + count: self.count) } }