Skip to content

Commit

Permalink
make cost be based on quantity of add on or reward item (#2013)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtgriego authored Apr 15, 2024
1 parent 195e0b6 commit 1230aee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ interface ExpandableHeaderViewHolderViewModel {
.addToDisposable(disposables)

projectAndReward
.map { this.ksCurrency.format(it.second.minimum(), it.first) }
.map { this.ksCurrency.format(it.second.minimum() * (it.second.quantity() ?: 1), it.first) }
.subscribe { this.amountForSummary.onNext(it) }
.addToDisposable(disposables)
}
Expand Down

0 comments on commit 1230aee

Please sign in to comment.