mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
#1301 (white flash in dark mode)
- Added a tiny delay when loading the full story HTML to give the web view time to render the page.
This commit is contained in:
parent
d4625c5e7c
commit
168cdb2ea9
1 changed files with 4 additions and 2 deletions
|
@ -1810,8 +1810,10 @@
|
|||
});
|
||||
}
|
||||
|
||||
self.webView.hidden = NO;
|
||||
[self.webView setNeedsDisplay];
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
self.webView.hidden = NO;
|
||||
[self.webView setNeedsDisplay];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)webViewNotifyLoaded {
|
||||
|
|
Loading…
Add table
Reference in a new issue