Fixed that no Set hasn't been used
This commit is contained in:
parent
50a5938046
commit
da5e285d61
|
@ -9,7 +9,7 @@ open class RetrievedAccountData(
|
||||||
) {
|
) {
|
||||||
|
|
||||||
open fun addBookedTransactions(transactions: List<AccountTransaction>) {
|
open fun addBookedTransactions(transactions: List<AccountTransaction>) {
|
||||||
val bookedTransactions = this.bookedTransactions.toMutableList() // some banks like Postbank return some transactions multiple times -> remove these
|
val bookedTransactions = this.bookedTransactions.toMutableSet() // some banks like Postbank return some transactions multiple times -> remove these
|
||||||
|
|
||||||
bookedTransactions.addAll(transactions)
|
bookedTransactions.addAll(transactions)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue