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

Commit

Permalink
Fix #3110: Connected publishers now show correctly as verified (#3114)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored and iccub committed Dec 10, 2020
1 parent d570d20 commit 90b17ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BraveRewardsViewController: UIViewController, Themeable, PopoverContentCom
private var ledgerObserver: LedgerObserver?
private var publisher: PublisherInfo? {
didSet {
let isVerified = publisher?.status == .verified
let isVerified = publisher?.status != .notVerified
rewardsView.publisherView.learnMoreButton.isHidden = isVerified
rewardsView.publisherView.hostLabel.attributedText = publisher?.attributedDisplayName(fontSize: BraveRewardsPublisherView.UX.hostLabelFontSize)
rewardsView.publisherView.bodyLabel.text = isVerified ? Strings.Rewards.supportingPublisher : Strings.Rewards.unverifiedPublisher
Expand Down

0 comments on commit 90b17ca

Please sign in to comment.