Fixed issue where a pending video would not be added to queue when using add to queue feature.

This commit is contained in:
Koen J
2025-11-14 12:26:38 +01:00
parent 68d11f6d58
commit 098599853b
2 changed files with 3 additions and 2 deletions
@@ -1354,6 +1354,7 @@ class VideoDetailView : ConstraintLayout {
_minimize_title.text = video.name;
_minimize_meta.text = video.author.name;
StatePlayer.instance.setCurrentlyPlaying(video);
val subTitleSegments : ArrayList<String> = ArrayList();
if(video.viewCount > 0)
@@ -111,10 +111,10 @@ class StatePlayer {
val onPlayerOpened = Event0();
val onPlayerClosed = Event0();
var currentVideo: IPlatformVideoDetails? = null
var currentVideo: IPlatformVideo? = null
private set;
fun setCurrentlyPlaying(video: IPlatformVideoDetails?) {
fun setCurrentlyPlaying(video: IPlatformVideo?) {
currentVideo = video;
}