Fix crashes

This commit is contained in:
Arkadiusz Fal
2022-12-21 18:13:41 +01:00
parent 6594d5ba95
commit 18cbbd3c90
8 changed files with 26 additions and 17 deletions

View File

@@ -42,7 +42,7 @@ final class CommentsModel: ObservableObject {
firstPage = page.isNil || page!.isEmpty
player.playerAPI(video).comments(video.videoID, page: page)?
player.playerAPI(video)?.comments(video.videoID, page: page)?
.load()
.onSuccess { [weak self] response in
if let page: CommentsPage = response.typedContent() {