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.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()