From 0ccd2c4133c10bb392378f1133235d58252c2377 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Mon, 27 Apr 2020 10:38:31 +0200 Subject: [PATCH] fix overlapping account items in AccountsInListFragment (#1768) --- .../main/java/com/keylesspalace/tusky/AccountsInListFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt b/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt index 06edd80b..bd5a12c3 100644 --- a/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt @@ -139,6 +139,7 @@ class AccountsInListFragment : DialogFragment(), Injectable { if (state.searchResult == null) { searchAdapter.submitList(listOf()) accountsSearchRecycler.hide() + accountsRecycler.show() } else { val listAccounts = state.accounts.asRightOrNull() ?: listOf() val newList = state.searchResult.map { acc -> @@ -146,6 +147,7 @@ class AccountsInListFragment : DialogFragment(), Injectable { } searchAdapter.submitList(newList) accountsSearchRecycler.show() + accountsRecycler.hide() } }