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:
2020-12-31 13:12:37 +01:00
parent 489ef02a35
commit 31197a5d44
3 changed files with 11 additions and 6 deletions

View File

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