mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Fixed issue where a pending video would not be added to queue when using add to queue feature.
This commit is contained in:
+1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user