#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:
David Sinclair 2020-04-21 16:05:31 -07:00 committed by Samuel Clay
parent d4625c5e7c
commit 168cdb2ea9

View file

@ -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 {