mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 01:11:54 +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) {
|
fun setPadding(sheetIsHidden: Boolean) {
|
||||||
recycler.updatePaddingRelative(bottom = if (sheetIsHidden) 0 else 20.dpToPx)
|
recycler?.updatePaddingRelative(bottom = if (sheetIsHidden) 0 else 20.dpToPx)
|
||||||
recycler.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
recycler?.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||||
bottomMargin = if (sheetIsHidden) 0 else 30.dpToPx
|
bottomMargin = if (sheetIsHidden) 0 else 30.dpToPx
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user