mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
iOS: fixed #909 (crash when saving a story)
Was doing UI stuff on a background thread. Naughty.
This commit is contained in:
parent
e1c1c4fd23
commit
adbd1662bd
1 changed files with 5 additions and 3 deletions
|
@ -639,9 +639,11 @@
|
|||
NSLog(@"Stale story, already drawn. Was: %@, Now: %@", originalStoryId, blockPageController.activeStoryId);
|
||||
return;
|
||||
}
|
||||
[blockPageController initStory];
|
||||
[blockPageController drawStory];
|
||||
[blockPageController showTextOrStoryView];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[blockPageController initStory];
|
||||
[blockPageController drawStory];
|
||||
[blockPageController showTextOrStoryView];
|
||||
});
|
||||
});
|
||||
} else {
|
||||
// [pageController clearStory];
|
||||
|
|
Loading…
Add table
Reference in a new issue