mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing crash on network change.
This commit is contained in:
parent
3b3ea98afd
commit
27e0560324
1 changed files with 3 additions and 1 deletions
|
@ -495,7 +495,9 @@
|
|||
};
|
||||
reach.unreachableBlock = ^(Reachability *reach) {
|
||||
NSLog(@"Un-Reachable: %@", reach);
|
||||
[feedsViewController loadOfflineFeeds:NO];
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
[feedsViewController loadOfflineFeeds:NO];
|
||||
});
|
||||
};
|
||||
[reach startNotifier];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue