Skip to content

Commit

Permalink
Issue 6841: Please linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Efremov authored and bsclifton committed Dec 20, 2019
1 parent 4495bbb commit be5548a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/brave_rewards/browser/rewards_p3a.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void UpdateAdsP3AOnPreferenceChange(PrefService *prefs,
}

void MaybeRecordInitialAdsP3AState(PrefService* prefs) {
if (not prefs->GetBoolean(brave_ads::prefs::kHasAdsP3AState)) {
if (!prefs->GetBoolean(brave_ads::prefs::kHasAdsP3AState)) {
const bool ads_state = prefs->GetBoolean(brave_ads::prefs::kEnabled);
RecordAdsState(ads_state ? AdsP3AState::kAdsEnabled
: AdsP3AState::kAdsDisabled);
Expand Down

0 comments on commit be5548a

Please sign in to comment.