mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Don't show auto play countdown if queue is finished
This commit is contained in:
parent
44d54d37c1
commit
dfccac56ef
@ -1054,6 +1054,8 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun showAutoPlayCountdown() {
|
private fun showAutoPlayCountdown() {
|
||||||
|
if (!PlayingQueue.hasNext()) return
|
||||||
|
|
||||||
binding.player.useController = false
|
binding.player.useController = false
|
||||||
binding.player.hideController()
|
binding.player.hideController()
|
||||||
binding.autoplayCountdown.setHideSelfListener {
|
binding.autoplayCountdown.setHideSelfListener {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user