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

This commit is contained in:
arkon 2020-04-22 09:10:09 -04:00
parent b6f1c516e2
commit badddcf0de

View file

@ -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