diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/view/ViewExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/view/ViewExtensions.kt index 0a9f30b3a5..6bb814c03d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/view/ViewExtensions.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/view/ViewExtensions.kt @@ -188,12 +188,7 @@ fun View.applyWindowInsetsForRootController(bottomNav: View) { viewTreeObserver.removeOnGlobalLayoutListener(this) setOnApplyWindowInsetsListener { view, insets -> view.updateLayoutParams { - val attrsArray = intArrayOf(android.R.attr.actionBarSize) - val array = view.context.obtainStyledAttributes(attrsArray) - // topMargin = insets.systemWindowInsetTop + array - // .getDimensionPixelSize(0, 0) bottomMargin = bottomNav.height - array.recycle() } insets }