Fixed elevation issue when going into manga details

This commit is contained in:
Jay 2020-04-24 18:18:34 -04:00
parent 9586b564ed
commit 226eacdfcb

View File

@ -108,6 +108,8 @@ fun Controller.scrollViewWith(
super.onChangeStart(controller, changeHandler, changeType)
if (changeType.isEnter)
elevateFunc(elevate)
else
elevationAnim?.cancel()
}
})
elevateFunc(recycler.canScrollVertically(-1))