From 5cac17b7a9fc0ff0932804fdb9c19760a672eea1 Mon Sep 17 00:00:00 2001 From: UlrichKu Date: Sun, 30 Apr 2023 21:51:36 +0200 Subject: [PATCH] #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) --- .../keylesspalace/tusky/components/filters/FiltersActivity.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/filters/FiltersActivity.kt b/app/src/main/java/com/keylesspalace/tusky/components/filters/FiltersActivity.kt index b61a4faf..9230fdae 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/filters/FiltersActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/filters/FiltersActivity.kt @@ -82,7 +82,6 @@ class FiltersActivity : BaseActivity(), FiltersListener { } else { binding.messageView.hide() binding.filtersList.adapter = FiltersAdapter(this@FiltersActivity, state.filters) - binding.filtersList.show() } } } @@ -91,7 +90,6 @@ class FiltersActivity : BaseActivity(), FiltersListener { } private fun loadFilters() { - binding.filtersList.hide() viewModel.load() }