mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 09:15:12 +03:00
Don't expand source filter sheet on show (closes #5253)
This commit is contained in:
parent
fdf178d4df
commit
7c23212850
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue