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…
Reference in New Issue