From 17a1f49c2dfdbe1859fd59ba0d1ff77bb5871f9f Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Tue, 23 Mar 2021 13:18:41 -0400 Subject: [PATCH] Cleaning ext bottom sheet --- .../kanade/tachiyomi/ui/extension/ExtensionBottomSheet.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionBottomSheet.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionBottomSheet.kt index c01f148485..35fa827230 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionBottomSheet.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionBottomSheet.kt @@ -73,8 +73,6 @@ class ExtensionBottomSheet @JvmOverloads constructor(context: Context, attrs: At lateinit var controller: SourceController - private val pAdapter = FlexibleAdapter>(null, this, true) - val extensionFrameLayout = inflate(context, R.layout.recycler_with_scroller, null) as FrameLayout val migrationFrameLayout = @@ -143,10 +141,6 @@ class ExtensionBottomSheet @JvmOverloads constructor(context: Context, attrs: At presenter.onCreate() updateExtTitle() - val attrsArray = intArrayOf(android.R.attr.actionBarSize) - val array = context.obtainStyledAttributes(attrsArray) - val headerHeight = array.getDimensionPixelSize(0, 0) - array.recycle() sheet_layout.setOnClickListener { if (!sheetBehavior.isExpanded()) { sheetBehavior?.expand()