mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-11 15:19:09 +01:00
Added bottom padding to the library recyler view
This commit is contained in:
parent
7022cce4c2
commit
9468caeb1e
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user