mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
Merge pull request #7185 from FineFindus/fix/sb-video-end
fix(Player): hide sponsorblock skip button on video end
This commit is contained in:
commit
9a6d3a869c
@ -273,6 +273,7 @@ class PlayerFragment : Fragment(R.layout.fragment_player), OnlinePlayerOptions {
|
||||
|
||||
// check if video has ended, next video is available and autoplay is enabled/the video is part of a played playlist.
|
||||
if (playbackState == Player.STATE_ENDED) {
|
||||
binding.sbSkipBtn.isGone = true
|
||||
if (PlayerHelper.isAutoPlayEnabled(playlistId != null) && autoPlayCountdownEnabled) {
|
||||
showAutoPlayCountdown()
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user