mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
Use existing paddings when allocating space for source RecyclerView for FAB (fixes #2917)
This commit is contained in:
parent
b6f1c516e2
commit
badddcf0de
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user