mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-31 14:51:04 +00:00
scroll to top padding fixed
This commit is contained in:
@@ -155,6 +155,7 @@ class AnimeWatchFragment : Fragment() {
|
||||
|
||||
val position = gridLayoutManager.findFirstVisibleItemPosition()
|
||||
if (position > 2) {
|
||||
binding.ScrollTop.translationY = -navBarHeight.toFloat()
|
||||
binding.ScrollTop.visibility = View.VISIBLE
|
||||
} else {
|
||||
binding.ScrollTop.visibility = View.GONE
|
||||
|
||||
Reference in New Issue
Block a user