mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
Set theme based background color to note webview to avoid white background on scroll when dark theme is enabled. (#1230)
This commit is contained in:
parent
e2e4e62c4f
commit
99da184ba5
@ -108,7 +108,7 @@ class NoteBodyViewer extends Component {
|
||||
</html>
|
||||
`;
|
||||
|
||||
let webViewStyle = {}
|
||||
let webViewStyle = {'backgroundColor': this.props.webViewStyle.backgroundColor}
|
||||
// On iOS, the onLoadEnd() event is never fired so always
|
||||
// display the webview (don't do the little trick
|
||||
// to avoid the white flash).
|
||||
|
Loading…
Reference in New Issue
Block a user