mirror of
https://github.com/recloudstream/cloudstream.git
synced 2025-05-17 19:25:55 +08: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:
@ -1707,7 +1707,7 @@ class ResultViewModel2 : ViewModel() {
|
||||
else -> {
|
||||
if (response.type.isLiveStream())
|
||||
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
|
||||
else null
|
||||
}
|
||||
@ -2340,4 +2340,4 @@ class ResultViewModel2 : ViewModel() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user