diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListController.kt index 6a42204ded..89bf65e746 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListController.kt @@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.ui.library import android.animation.Animator import android.animation.AnimatorSet import android.animation.ValueAnimator +import android.app.Activity import android.graphics.Rect import android.os.Build import android.os.Bundle @@ -358,6 +359,12 @@ class LibraryListController(bundle: Bundle? = null) : LibraryController(bundle), }*/ } + override fun onActivityResumed(activity: Activity) { + super.onActivityResumed(activity) + resetScrollingValues() + resetRecyclerY() + } + override fun onDestroy() { // (activity as MainActivity).supportActionBar?.setDisplayShowCustomEnabled(false) super.onDestroy()