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) { if (filterSheet != null) {
// Add bottom padding if filter FAB is visible // Add bottom padding if filter FAB is visible
recycler.setPadding( recycler.setPadding(
0, recycler.paddingLeft,
0, recycler.paddingTop,
0, recycler.paddingRight,
view.resources.getDimensionPixelOffset(R.dimen.fab_list_padding) view.resources.getDimensionPixelOffset(R.dimen.fab_list_padding)
) )
recycler.clipToPadding = false recycler.clipToPadding = false