mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing memory issue with reusing cells.
This commit is contained in:
parent
b1a6ee9aca
commit
08ad585f1d
2 changed files with 5 additions and 3 deletions
|
@ -124,7 +124,7 @@ static UIFont *indicatorFont = nil;
|
|||
if (cell.isRiverOrSocial) {
|
||||
riverPadding = 20;
|
||||
}
|
||||
|
||||
|
||||
CGContextRef context = UIGraphicsGetCurrentContext();
|
||||
|
||||
CGRect rect = CGRectInset(r, 12, 12);
|
||||
|
|
|
@ -998,7 +998,7 @@
|
|||
dequeueReusableCellWithIdentifier:cellIdentifier];
|
||||
if (cell == nil) {
|
||||
cell = [[FeedDetailTableCell alloc] initWithStyle:UITableViewCellStyleDefault
|
||||
reuseIdentifier:nil];
|
||||
reuseIdentifier:cellIdentifier];
|
||||
}
|
||||
|
||||
NSDictionary *story = [self getStoryAtRow:indexPath.row];
|
||||
|
@ -1099,7 +1099,9 @@
|
|||
}
|
||||
|
||||
[cell setupGestures];
|
||||
|
||||
|
||||
[cell setNeedsDisplay];
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue