don't show next episode, if there is no
This commit is contained in:
parent
23713fc1e6
commit
14377c3f18
|
@ -219,7 +219,7 @@ class PlayerActivity : AppCompatActivity() {
|
||||||
if (remainingTime in 0..20000) {
|
if (remainingTime in 0..20000) {
|
||||||
withContext(Dispatchers.Main) {
|
withContext(Dispatchers.Main) {
|
||||||
// if the next ep button is not visible, make it visible
|
// if the next ep button is not visible, make it visible
|
||||||
if (!button_next_ep.isVisible) {
|
if (!button_next_ep.isVisible && nextEpisode != null) {
|
||||||
button_next_ep.visibility = View.VISIBLE // TODO animation
|
button_next_ep.visibility = View.VISIBLE // TODO animation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue