Hopefully last

This commit is contained in:
Jānis 2022-06-17 14:33:10 +03:00
parent 3c61aa2ee5
commit a47eb63ac2

View File

@ -523,7 +523,7 @@ class PlayerFragment : Fragment() {
)
// check if video has ended, next video is available and autoplay is enabled.
if(
if (
playbackState == Player.STATE_ENDED &&
relatedStreams != null &&
relatedStreams!!.isNotEmpty() &&