Fix bug that not load chapters of the previous, next episode in player

This commit is contained in:
PangMo5 2022-07-13 22:56:21 +09:00
parent 4e8fcd4993
commit ff429fb961
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ extension VideoPlayerViewModel {
TvShowsAPI.getEpisodes(seriesId: seriesID,
userId: SessionManager.main.currentLogin.user.id,
fields: [.chapters],
adjacentTo: item.id,
limit: 3)
.sink(receiveCompletion: { completion in