mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 17:49:16 +03:00
Hide filter FAB when opened (closes #3024)
This commit is contained in:
parent
286d2b4cf6
commit
23a8e31791
1 changed files with 4 additions and 0 deletions
|
@ -152,6 +152,10 @@ open class BrowseSourceController(bundle: Bundle) :
|
|||
)
|
||||
filterSheet?.setFilters(presenter.filterItems)
|
||||
|
||||
// TODO: [ExtendedFloatingActionButton] hide/show methods don't work properly
|
||||
filterSheet?.setOnShowListener { binding.fabFilter.gone() }
|
||||
filterSheet?.setOnDismissListener { binding.fabFilter.visible() }
|
||||
|
||||
binding.fabFilter.setOnClickListener { filterSheet?.show() }
|
||||
binding.fabFilter.visible()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue