From badddcf0ded450856e9cd5e13191df6737029cc0 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 22 Apr 2020 09:10:09 -0400 Subject: [PATCH] Use existing paddings when allocating space for source RecyclerView for FAB (fixes #2917) --- .../tachiyomi/ui/source/browse/BrowseSourceController.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt index 1f0949b9c3..4ffe3a85c8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt @@ -202,9 +202,9 @@ open class BrowseSourceController(bundle: Bundle) : if (filterSheet != null) { // Add bottom padding if filter FAB is visible recycler.setPadding( - 0, - 0, - 0, + recycler.paddingLeft, + recycler.paddingTop, + recycler.paddingRight, view.resources.getDimensionPixelOffset(R.dimen.fab_list_padding) ) recycler.clipToPadding = false