mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-07 23:48:49 +01:00
fix overlapping account items in AccountsInListFragment (#1768)
This commit is contained in:
parent
89efd67015
commit
0ccd2c4133
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user