浏览代码

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

arkon 3 年之前
父节点
当前提交
7c23212850
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt

+ 0 - 6
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<IFlexible<*>>) {
         filterNavView.adapter.updateDataSet(items)
     }