Skip to content

Commit

Permalink
fix #1665: Filter error in AccountsFragment.kt fixed
Browse files Browse the repository at this point in the history
fix #1665: Filter error in AccountsFragment.kt fixed

fix #1665: Filter error in AccountsFragment.kt fixed

fix #1665: Filter error in AccountsFragment.kt fixed

fix #1665: Filter error in AccountsFragment.kt fixed
  • Loading branch information
kmanikanta335 authored and therajanmaurya committed Jan 17, 2024
1 parent b4cb777 commit dbfcd8c
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,7 @@ class AccountsFragment : BaseFragment(), OnRefreshListener {
)?.let { filteredSavings.addAll(it) }
}
}
if (filteredSavings.size == 0) {
showEmptyAccounts(getString(R.string.no_saving_account))
} else {
if (filteredSavings.size != 0) {
savingAccountsListAdapter?.setSavingAccountsList(filteredSavings)
}
}
Expand All @@ -415,9 +413,7 @@ class AccountsFragment : BaseFragment(), OnRefreshListener {
)?.let { filteredSavings.addAll(it) }
}
}
if (filteredSavings.size == 0) {
showEmptyAccounts(getString(R.string.no_loan_account))
} else {
if (filteredSavings.size != 0) {
loanAccountsListAdapter?.setLoanAccountsList(filteredSavings)
}
}
Expand All @@ -439,9 +435,7 @@ class AccountsFragment : BaseFragment(), OnRefreshListener {
)?.let { filteredSavings.addAll(it) }
}
}
if (filteredSavings.size == 0) {
showEmptyAccounts(getString(R.string.no_saving_account))
} else {
if (filteredSavings.size != 0) {
shareAccountsListAdapter?.setShareAccountsList(filteredSavings)
}
}
Expand Down

0 comments on commit dbfcd8c

Please sign in to comment.