You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Various changes
This commit is contained in:
@@ -181,7 +181,7 @@ class NoteBodyViewer extends Component {
|
||||
setTimeout(() => {
|
||||
if (!this.isMounted_) return;
|
||||
this.setState({ webViewLoaded: true });
|
||||
}, 200);
|
||||
}, 100);
|
||||
}
|
||||
|
||||
render() {
|
||||
@@ -191,7 +191,7 @@ class NoteBodyViewer extends Component {
|
||||
const html = this.markdownToHtml(note ? note.body : '', this.props.webViewStyle);
|
||||
|
||||
let webViewStyle = {}
|
||||
if (!this.state.webViewLoaded) webViewStyle.display = 'none';
|
||||
webViewStyle.opacity = this.state.webViewLoaded ? 1 : 0.01;
|
||||
|
||||
return (
|
||||
<View style={style}>
|
||||
|
||||
Reference in New Issue
Block a user