#3430: (fix) do not hide the anchor of the FAB (#3561)

On Account preferences > Filters

With the list hidden on an empty view the FAB is erroneouly placed on the top left of the screen.

(Introduced with #3430)
This commit is contained in:
UlrichKu 2023-04-30 21:51:36 +02:00 committed by GitHub
parent 0a39ee7ded
commit 5cac17b7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,6 @@ class FiltersActivity : BaseActivity(), FiltersListener {
} else { } else {
binding.messageView.hide() binding.messageView.hide()
binding.filtersList.adapter = FiltersAdapter(this@FiltersActivity, state.filters) binding.filtersList.adapter = FiltersAdapter(this@FiltersActivity, state.filters)
binding.filtersList.show()
} }
} }
} }
@ -91,7 +90,6 @@ class FiltersActivity : BaseActivity(), FiltersListener {
} }
private fun loadFilters() { private fun loadFilters() {
binding.filtersList.hide()
viewModel.load() viewModel.load()
} }