-
Notifications
You must be signed in to change notification settings - Fork 440
Fix #2378: iOS DB Migration & Rebase to brave-core master #2389
Conversation
8cba0f8
to
a39df1a
Compare
@@ -93,7 +94,10 @@ extension RewardsSummaryProtocol { | |||
}) | |||
} | |||
|
|||
let reservedAmount = BATValue(state.ledger.reservedAmount) | |||
state.ledger.pendingContributionsTotal { amount in | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, left this in here when I moved the logic for getting it out (now passed in the arg since its async)
I'll delete it :)
self.rewardsSummaryView.disclaimerView = WalletDisclaimerView().then { | ||
$0.labels = labels | ||
$0.labels.forEach { | ||
$0.onLinkedTapped = { [weak self] link in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this $0
refers to labels
or to WalletDisclaimerView
? idk, maybe name one of the params to avoid confusion
@@ -78,7 +78,7 @@ final class AutoContributeExclusionListController: UIViewController { | |||
} | |||
|
|||
@objc private func tappedRestoreAll(_ sender: UIBarButtonItem) { | |||
let numberOfExcludedSites = state.ledger.numberOfExcludedPublishers | |||
let numberOfExcludedSites = publishers.count |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about naming but shouldn't this be some kind of excluded publishers count?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are in a controller which only shows excluded publishers, so any publisher in here is already excluded
a39df1a
to
6bd8878
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I would wait with merging a day or two until 1.15 is approved
Summary of Changes
This pull request fixes #2378
By moving BraveRewards framework build up to brave-core/master this issue also fixes #2200
Submitter Checklist:
NSLocalizableString()
Test Plan:
Screenshots:
iOS 12 Failure Screenshots
iOS 13 Failure Screenshots
Reviewer Checklist:
QA/(Yes|No)
release-notes/(include|exclude)
bug
/enhancement