Skip to content

Commit

Permalink
Merge pull request #5083 from wikimedia/fix-console-merge-complaint
Browse files Browse the repository at this point in the history
[YiR] Only populate after login if app has resumed
  • Loading branch information
l-olson1214 authored Nov 25, 2024
2 parents df09fdb + dcabc43 commit 15dd5a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Wikipedia/Code/WMFAppViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2226,14 +2226,13 @@ - (void)userWasLoggedIn:(NSNotification *)note {
[self.dataStore.feedContentController updateContentSource:[WMFAnnouncementsContentSource class]
force:YES
completion:nil];
[self populateYearInReviewReportFor:WMFYearInReviewDataController.targetYear];
}

[self.dataStore.feedContentController updateContentSource:[WMFSuggestedEditsContentSource class]
force:YES
completion:nil];
});

[self populateYearInReviewReportFor:WMFYearInReviewDataController.targetYear];
}

- (void)authManagerDidHandlePrimaryLanguageChange:(NSNotification *)note {
Expand Down

0 comments on commit 15dd5a9

Please sign in to comment.