Skip to content

Commit

Permalink
Merge pull request #1721 from jasonrsadler/monthly-tips-panel
Browse files Browse the repository at this point in the history
Monthly tips are now shown in Rewards panel summary.
  • Loading branch information
Jason Sadler authored Feb 19, 2019
2 parents c051aef + 1ae91be commit 362e897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/extensions/api/brave_rewards.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"type": "string",
"description": "balance defined in probi"
},
"recurring": {
"donation": {
"type": "string",
"description": "balance defined in probi"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void ExtensionRewardsServiceObserver::OnGetCurrentBalanceReport(
properties.tips = balance_report.one_time_donation;
properties.opening = balance_report.opening_balance;
properties.total = balance_report.total;
properties.recurring = balance_report.recurring_donation;
properties.donation = balance_report.recurring_donation;

std::unique_ptr<base::ListValue> args(
extensions::api::brave_rewards::OnCurrentReport::Create(properties)
Expand Down

0 comments on commit 362e897

Please sign in to comment.