mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-11 04:19:16 +01:00
Fix layout of options in library filter sheet
This commit is contained in:
parent
9e813f773b
commit
bf3cba380f
@ -158,7 +158,7 @@ class FilterBottomSheet @JvmOverloads constructor(context: Context, attrs: Attri
|
||||
)
|
||||
shadow.alpha = if (sheetBehavior.isHidden()) 0f else 1f
|
||||
|
||||
if (binding.secondLayout.width + binding.firstLayout.width + 20.dpToPx < width) {
|
||||
if (binding.secondLayout.width + (binding.groupBy.width * 2) + 20.dpToPx < width) {
|
||||
binding.secondLayout.removeView(binding.viewOptions)
|
||||
binding.firstLayout.addView(binding.viewOptions)
|
||||
binding.secondLayout.isVisible = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user