minor fixes
* fix current language is set to preferred and not to actual language * fix player episodes lists sometimes missing the play icon
This commit is contained in:
@ -40,8 +40,10 @@ class PlayerEpisodeItemAdapter(private val episodes: List<Episode>) : RecyclerVi
|
||||
}
|
||||
|
||||
// hide the play icon, if it's the current episode
|
||||
if (currentSelected == position) {
|
||||
holder.binding.imageEpisodePlay.visibility = View.GONE
|
||||
holder.binding.imageEpisodePlay.visibility = if (currentSelected == position) {
|
||||
View.GONE
|
||||
} else {
|
||||
View.VISIBLE
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user