From 495407f3eac82267d1a31457cac10e0f06b81939 Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 11 Mar 2020 01:19:43 -0700 Subject: [PATCH] Fixed not being abled to scroll sideways in library list --- .../kanade/tachiyomi/ui/library/LibraryListController.kt | 7 +++++++ 1 file changed, 7 insertions(+) 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()