mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-23 21:27:40 +03:00
BrowseSourceController: Fix navigation bar insets not properly applied (#4810)
This commit is contained in:
parent
f145fd0dec
commit
84e023607c
1 changed files with 5 additions and 5 deletions
|
@ -238,16 +238,16 @@ 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.updatePadding(bottom = view.resources.getDimensionPixelOffset(R.dimen.fab_list_padding))
|
recycler.updatePadding(bottom = view.resources.getDimensionPixelOffset(R.dimen.fab_list_padding))
|
||||||
recycler.applyInsetter {
|
|
||||||
type(navigationBars = true) {
|
|
||||||
padding()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
recycler.clipToPadding = false
|
recycler.clipToPadding = false
|
||||||
|
|
||||||
actionFab?.shrinkOnScroll(recycler)
|
actionFab?.shrinkOnScroll(recycler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
recycler.applyInsetter {
|
||||||
|
type(navigationBars = true) {
|
||||||
|
padding()
|
||||||
|
}
|
||||||
|
}
|
||||||
recycler.setHasFixedSize(true)
|
recycler.setHasFixedSize(true)
|
||||||
recycler.adapter = adapter
|
recycler.adapter = adapter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue