Skip to content

Commit

Permalink
Follow up to there is no ads enable alert, ads are enabled by default…
Browse files Browse the repository at this point in the history
… when upgrading build from 0.62.51 to 0.67.119

Fixes brave/brave-browser#5531
  • Loading branch information
tmancey committed Aug 5, 2019
1 parent 1db3a40 commit 8d6ae1a
Show file tree
Hide file tree
Showing 10 changed files with 173 additions and 185 deletions.
8 changes: 2 additions & 6 deletions components/brave_ads/browser/ads_service_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,8 @@ void AdsServiceFactory::RegisterProfilePrefs(

registry->RegisterBooleanPref(prefs::kShouldShowMyFirstAdNotification, true);

registry->RegisterBooleanPref(
prefs::kShouldShowFirstLaunchNotification, true);
registry->RegisterBooleanPref(
prefs::kHasRemovedFirstLaunchNotification, false);
registry->RegisterUint64Pref(
prefs::kLastShownFirstLaunchNotificationTimestamp, 0);
registry->RegisterBooleanPref(prefs::kShouldShowOnboarding, true);
registry->RegisterUint64Pref(prefs::kOnboardingTimestamp, 0);
}

} // namespace brave_ads

0 comments on commit 8d6ae1a

Please sign in to comment.