mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 18:51:51 +01:00
Another tracepot crash fix
This commit is contained in:
parent
2c7ceb900b
commit
620d3c57e8
@ -232,8 +232,8 @@ class RecentsController(bundle: Bundle? = null) : BaseController(bundle),
|
||||
}
|
||||
|
||||
fun setPadding(sheetIsHidden: Boolean) {
|
||||
recycler.updatePaddingRelative(bottom = if (sheetIsHidden) 0 else 20.dpToPx)
|
||||
recycler.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||
recycler?.updatePaddingRelative(bottom = if (sheetIsHidden) 0 else 20.dpToPx)
|
||||
recycler?.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||
bottomMargin = if (sheetIsHidden) 0 else 30.dpToPx
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user