|
@@ -6,7 +6,6 @@ import android.util.AttributeSet
|
|
|
import android.view.LayoutInflater
|
|
|
import android.view.View
|
|
|
import android.view.ViewGroup
|
|
|
-import com.google.android.material.bottomsheet.BottomSheetBehavior
|
|
|
import eu.davidea.flexibleadapter.FlexibleAdapter
|
|
|
import eu.davidea.flexibleadapter.items.IFlexible
|
|
|
import eu.kanade.tachiyomi.databinding.SourceFilterSheetBinding
|
|
@@ -31,11 +30,6 @@ class SourceFilterSheet(
|
|
|
return filterNavView
|
|
|
}
|
|
|
|
|
|
- override fun show() {
|
|
|
- super.show()
|
|
|
- behavior.state = BottomSheetBehavior.STATE_EXPANDED
|
|
|
- }
|
|
|
-
|
|
|
fun setFilters(items: List<IFlexible<*>>) {
|
|
|
filterNavView.adapter.updateDataSet(items)
|
|
|
}
|