mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-08 10:36:07 +00:00
Merge branch 'fix-logincall' into 'master'
fix: login prompt looping on search video See merge request videostreaming/grayjay!144
This commit is contained in:
commit
f8e0aaf4d2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue