mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
fix: click on video playlist won't load if autoplay is off on background mode (#6589)
* fix: click on video playlist won't load if autoplay is off on background mode * refactor: click on video playlist won't load if autoplay is off on background mode
This commit is contained in:
parent
83efcaef5c
commit
1ab57cb744
@ -356,7 +356,7 @@ class OnlinePlayerService : LifecycleService() {
|
||||
|
||||
saveWatchPosition()
|
||||
|
||||
if (!PlayerHelper.isAutoPlayEnabled(playlistId != null)) return
|
||||
if (!PlayerHelper.isAutoPlayEnabled(playlistId != null) && nextId == null) return
|
||||
|
||||
val nextVideo = nextId ?: PlayingQueue.getNext() ?: return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user