You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-14 23:26:58 +02:00
Mobile: Reload note when resource got downloaded. Also fixed Android build script to make it work in macOS.
This commit is contained in:
@@ -64,6 +64,11 @@ class NoteBodyViewer extends Component {
|
||||
return (safeGetNoteProp(this.props, 'body') + '').length !== (safeGetNoteProp(nextProps, 'body') + '').length;
|
||||
}
|
||||
|
||||
rebuildMd() {
|
||||
this.mdToHtml_.clearCache();
|
||||
this.forceUpdate();
|
||||
}
|
||||
|
||||
render() {
|
||||
const note = this.props.note;
|
||||
const style = this.props.style;
|
||||
|
||||
Reference in New Issue
Block a user