#1499 (feeds unread counts updating)

This commit is contained in:
David Sinclair 2021-06-10 20:33:59 -07:00
parent a83cf508ee
commit 7f4b586e0c
3 changed files with 9 additions and 0 deletions

View file

@ -107,6 +107,7 @@ UIGestureRecognizerDelegate, UISearchBarDelegate> {
- (BOOL)isFeedVisible:(id)feedId;
- (void)changeToAllMode;
- (void)calculateFeedLocations;
- (void)updateFeedTitlesTable;
- (IBAction)sectionTapped:(UIButton *)button;
- (IBAction)sectionUntapped:(UIButton *)button;
- (IBAction)sectionUntappedOutside:(UIButton *)button;

View file

@ -1592,6 +1592,10 @@ static NSArray<NSString *> *NewsBlurTopSectionNames;
[self.feedTitlesTable reloadData];
}
- (void)updateFeedTitlesTable {
[self.feedTitlesTable reloadData];
}
- (UIFontDescriptor *)fontDescriptorUsingPreferredSize:(NSString *)textStyle {
UIFontDescriptor *fontDescriptor = appDelegate.fontDescriptorTitleSize;
if (fontDescriptor) return fontDescriptor;

View file

@ -2889,6 +2889,8 @@
[storyPagesViewController refreshHeaders];
}
}
[self.feedsViewController updateFeedTitlesTable];
}
- (void)finishMarkAsUnread:(NSDictionary *)story {
@ -2904,6 +2906,8 @@
}
[storyPagesViewController setNextPreviousButtons];
originalStoryCount += 1;
[self.feedsViewController updateFeedTitlesTable];
}
- (void)failedMarkAsUnread:(NSDictionary *)params {