Skip to content

Commit

Permalink
Uplift of #26367 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-builds committed Nov 5, 2024
1 parent 006f304 commit aaaf123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/brave_news/browser/brave_news_p3a.cc
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ void NewsMetrics::OnPublishersChanged() {
void NewsMetrics::OnChannelsChanged() {
DVLOG(1) << __FUNCTION__;
base::flat_set<std::string> distinct_channels;
for (const auto& [locale, channels] :
pref_manager_->GetSubscriptions().channels()) {
auto channels_map = pref_manager_->GetSubscriptions().channels();
for (const auto& [locale, channels] : channels_map) {
distinct_channels.insert(channels.begin(), channels.end());
}
RecordTotalSubscribedCount(SubscribeType::kChannels,
Expand Down

0 comments on commit aaaf123

Please sign in to comment.