Fixed not being abled to scroll sideways in library list
This commit is contained in:
parent
ee471b919c
commit
495407f3ea
1 changed files with 7 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Reference in a new issue