mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 03:31:52 +01:00
Cleaning ext bottom sheet
This commit is contained in:
parent
c4aece1eb4
commit
17a1f49c2d
@ -73,8 +73,6 @@ class ExtensionBottomSheet @JvmOverloads constructor(context: Context, attrs: At
|
|||||||
|
|
||||||
lateinit var controller: SourceController
|
lateinit var controller: SourceController
|
||||||
|
|
||||||
private val pAdapter = FlexibleAdapter<IFlexible<*>>(null, this, true)
|
|
||||||
|
|
||||||
val extensionFrameLayout =
|
val extensionFrameLayout =
|
||||||
inflate(context, R.layout.recycler_with_scroller, null) as FrameLayout
|
inflate(context, R.layout.recycler_with_scroller, null) as FrameLayout
|
||||||
val migrationFrameLayout =
|
val migrationFrameLayout =
|
||||||
@ -143,10 +141,6 @@ class ExtensionBottomSheet @JvmOverloads constructor(context: Context, attrs: At
|
|||||||
presenter.onCreate()
|
presenter.onCreate()
|
||||||
updateExtTitle()
|
updateExtTitle()
|
||||||
|
|
||||||
val attrsArray = intArrayOf(android.R.attr.actionBarSize)
|
|
||||||
val array = context.obtainStyledAttributes(attrsArray)
|
|
||||||
val headerHeight = array.getDimensionPixelSize(0, 0)
|
|
||||||
array.recycle()
|
|
||||||
sheet_layout.setOnClickListener {
|
sheet_layout.setOnClickListener {
|
||||||
if (!sheetBehavior.isExpanded()) {
|
if (!sheetBehavior.isExpanded()) {
|
||||||
sheetBehavior?.expand()
|
sheetBehavior?.expand()
|
||||||
|
Loading…
Reference in New Issue
Block a user