Fixed #1589 (feed/story title doesn't show active highlight until tap-off)

This commit is contained in:
David Sinclair 2022-02-01 21:27:20 -08:00
parent af73ec4458
commit d2275ca93d
2 changed files with 12 additions and 0 deletions

View file

@ -79,6 +79,12 @@ static UIFont *indicatorFont = nil;
[cellContent setNeedsDisplay];
}
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
[super setHighlighted:highlighted animated:animated];
[self setNeedsDisplay];
}
- (NSString *)accessibilityLabel {
NSMutableString *output = [NSMutableString stringWithString:self.siteTitle ?: @"no site"];

View file

@ -67,6 +67,12 @@ static UIFont *textFont = nil;
[cellContent setNeedsDisplay];
}
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
[super setHighlighted:highlighted animated:animated];
[self setNeedsDisplay];
}
- (void) setPositiveCount:(int)ps {
if (ps == _positiveCount) return;