Skip to content

Commit

Permalink
fix: clear filter not working
Browse files Browse the repository at this point in the history
Fix clear filter not working when the current filtered list is empty
  • Loading branch information
AbrahamOsmondE committed Mar 26, 2024
1 parent 77c8119 commit 60c6ec5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ class SavingAccountsTransactionFragment : BaseFragment() {
}
.setNeutralButton(getString(R.string.clear_filters)) { _, _ ->
transactionListAdapter?.setSavingAccountsTransactionList(transactionsList)
sweetUIErrorHandler?.hideSweetErrorLayoutUI(
binding.rvSavingAccountsTransaction,
binding.layoutError.root,
)
initializeFilterVariables()
}
.setNegativeButton(R.string.cancel) { _, _ -> }
Expand Down

0 comments on commit 60c6ec5

Please sign in to comment.