Tweaked ResultViewModel

This commit is contained in:
IndusAryan 2023-08-16 16:00:42 +05:30 committed by GitHub
parent 598985fcd7
commit 11653572df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} }