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

Commit

Permalink
Fix #3404: Bump rewards library to 1.21.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Mar 11, 2021
1 parent 73f1c31 commit 25fdc20
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Client/Frontend/Browser/BrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ class BrowserViewController: UIViewController {
Preferences.Rewards.rewardsToggledOnce.value = true
}
// Update defaults
rewards.ads.adsPerDay = 2
rewards.ledger.minimumVisitDuration = 8
rewards.ledger.minimumNumberOfVisits = 1
rewards.ledger.allowUnverifiedPublishers = false
Expand All @@ -223,7 +222,6 @@ class BrowserViewController: UIViewController {
didInit()

rewards.delegate = self
rewards.createWalletIfNeeded()
}

static func legacyWallet(for config: BraveRewardsConfiguration) -> BraveLedger? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ extension Tab {
if faviconURL == nil {
log.warning("No favicon found in \(self) to report to rewards panel")
}
rewards.reportLoadedPage(url: url, faviconUrl: faviconURL, tabId: self.rewardsId, html: htmlBlob ?? "", adsInnerText: classifierText)
rewards.reportLoadedPage(url: url, redirectionURLs: [], faviconUrl: faviconURL, tabId: self.rewardsId, html: htmlBlob ?? "", adsInnerText: classifierText)
}
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"page-metadata-parser": "^1.1.3",
"readability": "github:mozilla/readability#b9f47bcc8d3c223cabe2dec6a42eeb3bd778d85c",
"webpack-cli": "^3.3.10",
"brave-core-ios": "https://github.com/brave/brave-browser/releases/download/v1.19.93/brave-core-ios-1.19.93.tgz"
"brave-core-ios": "https://github.com/brave/brave-browser/releases/download/v1.21.76/brave-core-ios-1.21.76.tgz"
},
"devDependencies": {
"babel-core": "^6.26.3",
Expand Down

0 comments on commit 25fdc20

Please sign in to comment.