forked from recloudstream/cloudstream
fixed zoro bug
This commit is contained in:
parent
e0925cfded
commit
0631e28c4c
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,11 @@ class PlayerGeneratorViewModel : ViewModel() {
|
|||
val currentLinks = mutableSetOf<Pair<ExtractorLink?, ExtractorUri?>>()
|
||||
val currentSubs = mutableSetOf<SubtitleData>()
|
||||
|
||||
// clear old data
|
||||
_currentSubs.postValue(currentSubs)
|
||||
_currentLinks.postValue(currentLinks)
|
||||
|
||||
// load more data
|
||||
_loadingLinks.postValue(Resource.Loading())
|
||||
val loadingState = safeApiCall {
|
||||
generator?.generateLinks(clearCache = clearCache, isCasting = isCasting, {
|
||||
|
|
Loading…
Reference in a new issue