mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Play n Dowload button fix for NS*W results. (#557)
* Play n Dowload button fix for NS*W results. * Revert MainAPI Changes * Tweaked ResultViewModel
This commit is contained in:
parent
d536dffaf5
commit
d247640dcf
1 changed files with 2 additions and 2 deletions
|
@ -1707,7 +1707,7 @@ class ResultViewModel2 : ViewModel() {
|
||||||
else -> {
|
else -> {
|
||||||
if (response.type.isLiveStream())
|
if (response.type.isLiveStream())
|
||||||
R.string.play_livestream_button
|
R.string.play_livestream_button
|
||||||
else if (response.type.isMovieType()) // this wont break compatibility as you only need to override isMovieType
|
else if (response.isMovie()) // this wont break compatibility as you only need to override isMovieType
|
||||||
R.string.play_movie_button
|
R.string.play_movie_button
|
||||||
else null
|
else null
|
||||||
}
|
}
|
||||||
|
@ -2340,4 +2340,4 @@ class ResultViewModel2 : ViewModel() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue