Fixed not being abled to scroll sideways in library list

This commit is contained in:
Jay 2020-03-11 01:19:43 -07:00
parent ee471b919c
commit 495407f3ea

View File

@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.ui.library
import android.animation.Animator import android.animation.Animator
import android.animation.AnimatorSet import android.animation.AnimatorSet
import android.animation.ValueAnimator import android.animation.ValueAnimator
import android.app.Activity
import android.graphics.Rect import android.graphics.Rect
import android.os.Build import android.os.Build
import android.os.Bundle 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() { override fun onDestroy() {
// (activity as MainActivity).supportActionBar?.setDisplayShowCustomEnabled(false) // (activity as MainActivity).supportActionBar?.setDisplayShowCustomEnabled(false)
super.onDestroy() super.onDestroy()