Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #1770: Total tips this month no longer display probi value
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Oct 23, 2019
1 parent 370f83f commit 69c9f28
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class TipsDetailViewController: UIViewController {
private func loadData() {
_ = getTipsThisMonth().then {

if let oneTimeTips = BATValue($0.oneTimeDonation),
let recurringTips = BATValue($0.recurringDonation) {
if let oneTimeTips = BATValue(probi: "\($0.oneTimeDonation)"),
let recurringTips = BATValue(probi: "\($0.recurringDonation)") {
totalBatTips = oneTimeTips.doubleValue + recurringTips.doubleValue
}
}
Expand Down

0 comments on commit 69c9f28

Please sign in to comment.