Merge branch 'fix-logincall' into 'master'

fix: login prompt looping on search video

See merge request videostreaming/grayjay!144
This commit is contained in:
Kelvin 2025-08-21 16:00:35 +00:00
commit f8e0aaf4d2

View file

@ -1154,7 +1154,7 @@ class VideoDetailView : ConstraintLayout {
//Recover cancelled loads
if(video == null) {
val t = (lastPositionMilliseconds / 1000.0f).roundToLong();
if(_searchVideo != null)
if(_searchVideo != null && !wasLoginCall)
setVideoOverview(_searchVideo!!, true, t);
else if(_url != null && !wasLoginCall)
setVideo(_url!!, t, _playWhenReady);