Added bottom padding to the library recyler view
This commit is contained in:
parent
7022cce4c2
commit
9468caeb1e
1 changed files with 1 additions and 4 deletions
|
@ -416,10 +416,6 @@ class LibraryController(
|
|||
}
|
||||
}
|
||||
|
||||
// pad the recycler if the filter bottom sheet is visible
|
||||
val height = view.context.resources.getDimensionPixelSize(R.dimen.rounder_radius) + 4.dpToPx
|
||||
recycler.updatePaddingRelative(bottom = height)
|
||||
|
||||
presenter.onRestore()
|
||||
if (presenter.libraryItems.isNotEmpty()) {
|
||||
presenter.restoreLibrary()
|
||||
|
@ -536,6 +532,7 @@ class LibraryController(
|
|||
}
|
||||
|
||||
private fun setRecyclerLayout() {
|
||||
recycler.updatePaddingRelative(bottom = 50.dpToPx)
|
||||
if (libraryLayout == 0) {
|
||||
recycler.spanCount = 1
|
||||
recycler.updatePaddingRelative(
|
||||
|
|
Reference in a new issue