Skip to content

Commit

Permalink
Fix of 'Loan transactions disappears' (#3548)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamim-emon committed Sep 20, 2024
1 parent e91c012 commit 200aa7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class LoanViewModel @Inject constructor(
}

private fun loadCompletedLoans() {
completedLoans = allLoans.filter { loan -> loan.percentPaid == 1.0 }.toImmutableList()
completedLoans = allLoans.filter { loan -> loan.percentPaid >= 1.0 }.toImmutableList()
}

private fun loadPendingLoans() {
Expand Down

0 comments on commit 200aa7f

Please sign in to comment.