Fix crash while managing playlists

This commit is contained in:
Arkadiusz Fal 2022-06-19 17:31:02 +02:00
parent f367fe8728
commit 13208a4444

View File

@ -372,7 +372,7 @@ final class PipedAPI: Service, ObservableObject, VideosAPI {
id: id, id: id,
title: details["name"]?.string ?? "", title: details["name"]?.string ?? "",
thumbnailURL: thumbnailURL, thumbnailURL: thumbnailURL,
channel: extractChannel(from: json)!, channel: extractChannel(from: json),
videos: videos, videos: videos,
videosCount: details["videos"]?.int videosCount: details["videos"]?.int
) )