From 7c232128502ed75053ebc0651024ed6a77dfdba3 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 5 Jun 2021 11:08:54 -0400 Subject: [PATCH] Don't expand source filter sheet on show (closes #5253) --- .../tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt index ddf9a9e820..3102d7d1e2 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt @@ -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>) { filterNavView.adapter.updateDataSet(items) }