Don't expand source filter sheet on show (closes #5253)

This commit is contained in:
arkon 2021-06-05 11:08:54 -04:00
parent fdf178d4df
commit 7c23212850

View file

@ -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)
}