Explorar o código

Use existing paddings when allocating space for source RecyclerView for FAB (fixes #2917)

arkon %!s(int64=5) %!d(string=hai) anos
pai
achega
badddcf0de

+ 3 - 3
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