diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index f7095bd76c..109b6edabe 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -642,7 +642,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { // save the watch position if video isn't finished and option enabled private fun saveWatchPosition() { - if (!this::exoPlayer.isInitialized || !PlayerHelper.watchPositionsVideo + if (!this::exoPlayer.isInitialized || !PlayerHelper.watchPositionsVideo || transitioning || exoPlayer.duration == C.TIME_UNSET || exoPlayer.currentPosition in listOf( 0L, C.TIME_UNSET