From 69c9f28f7f5697e14b639a3d69bf506cce30085a Mon Sep 17 00:00:00 2001 From: Kyle Hickinson Date: Wed, 23 Oct 2019 11:31:10 -0400 Subject: [PATCH] Fix #1770: Total tips this month no longer display probi value --- .../Settings/Tips/Details/TipsDetailViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BraveRewardsUI/Settings/Tips/Details/TipsDetailViewController.swift b/BraveRewardsUI/Settings/Tips/Details/TipsDetailViewController.swift index 43b910bfaad..f1af1c115e5 100644 --- a/BraveRewardsUI/Settings/Tips/Details/TipsDetailViewController.swift +++ b/BraveRewardsUI/Settings/Tips/Details/TipsDetailViewController.swift @@ -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 } }