ignore gesture insets for library filter sheet

This commit is contained in:
Jays2Kings 2021-07-20 14:56:30 -04:00
parent 922f115c78
commit dd877edb49

View File

@ -147,6 +147,8 @@ class FilterBottomSheet @JvmOverloads constructor(context: Context, attrs: Attri
onGroupClicked(ACTION_DISPLAY) onGroupClicked(ACTION_DISPLAY)
} }
sheetBehavior?.isGestureInsetBottomIgnored = true
val activeFilters = hasActiveFiltersFromPref() val activeFilters = hasActiveFiltersFromPref()
if (activeFilters && sheetBehavior.isHidden() && sheetBehavior?.skipCollapsed == false) { if (activeFilters && sheetBehavior.isHidden() && sheetBehavior?.skipCollapsed == false) {
sheetBehavior?.collapse() sheetBehavior?.collapse()