mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
#1565 (story titles image preview doesn’t show until scroll gesture is finished)
This commit is contained in:
parent
d7ba5b6cd8
commit
3162ab8523
1 changed files with 6 additions and 2 deletions
|
@ -1326,8 +1326,12 @@ typedef NS_ENUM(NSUInteger, MarkReadShowMenu)
|
|||
stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]];
|
||||
}
|
||||
}
|
||||
[self performSelector:@selector(cacheStoryImages:) withObject:storyImageUrls afterDelay:0.2];
|
||||
|
||||
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC),
|
||||
dispatch_get_main_queue(), ^(void) {
|
||||
[self cacheStoryImages:storyImageUrls];
|
||||
});
|
||||
|
||||
self.pageFetching = NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue