Skip to content

Commit

Permalink
chore: run code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrahamOsmondE committed Mar 26, 2024
1 parent 60c6ec5 commit 3d6153f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ class SavingAccountsTransactionFragment : BaseFragment() {
SavingsWithAssociations::class.java,
Constants.SAVINGS_ACCOUNTS
)
) }
)
}
}

/**
Expand Down Expand Up @@ -409,7 +410,7 @@ class SavingAccountsTransactionFragment : BaseFragment() {
sweetUIErrorHandler?.hideSweetErrorLayoutUI(
binding.rvSavingAccountsTransaction,
binding.layoutError.root,
)
)
initializeFilterVariables()
}
.setNegativeButton(R.string.cancel) { _, _ -> }
Expand All @@ -430,7 +431,8 @@ class SavingAccountsTransactionFragment : BaseFragment() {
*/
private fun filter(startDate: Long?, endDate: Long?, statusModelList: List<CheckboxStatus?>?) {
val hasOtherFilters = statusModelList?.any { it!!.isChecked }
val transactionListToFilter = if (hasOtherFilters == true) filterSavingsAccountTransactionsByType(statusModelList) else transactionsList
val transactionListToFilter =
if (hasOtherFilters == true) filterSavingsAccountTransactionsByType(statusModelList) else transactionsList

viewModel.filterTransactionList(
transactionListToFilter,
Expand Down

0 comments on commit 3d6153f

Please sign in to comment.