mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 15:21:51 +01:00
Fix crash when quickly leaving manga details
This commit is contained in:
parent
79745e19d2
commit
51b50d8a51
@ -1022,7 +1022,7 @@ class MangaDetailsController : BaseController,
|
|||||||
|
|
||||||
// In case the recycler is at the bottom and collapsing the header makes it unscrollable
|
// In case the recycler is at the bottom and collapsing the header makes it unscrollable
|
||||||
override fun updateScroll() {
|
override fun updateScroll() {
|
||||||
if (!recycler.canScrollVertically(-1)) {
|
if (recycler?.canScrollVertically(-1) == false) {
|
||||||
getHeader()?.backdrop?.translationY = 0f
|
getHeader()?.backdrop?.translationY = 0f
|
||||||
activity?.appbar?.y = 0f
|
activity?.appbar?.y = 0f
|
||||||
colorToolbar(isColor = false, animate = false)
|
colorToolbar(isColor = false, animate = false)
|
||||||
|
Loading…
Reference in New Issue
Block a user