diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentsController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentsController.kt index efc538f2fe..959da8e705 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentsController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentsController.kt @@ -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 { + recycler?.updatePaddingRelative(bottom = if (sheetIsHidden) 0 else 20.dpToPx) + recycler?.updateLayoutParams { bottomMargin = if (sheetIsHidden) 0 else 30.dpToPx } }