1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Mobile: Many small fixes and improvements to style and layout to make app more usable

This commit is contained in:
Laurent Cozic
2018-12-15 01:45:35 +01:00
parent 6dca4a0d6b
commit fa0572de77
5 changed files with 10 additions and 13 deletions

View File

@ -156,7 +156,7 @@ class NoteScreenComponent extends BaseScreenComponent {
this.resourceFetcher_downloadComplete = async (resource) => {
if (!this.state.note || !this.state.note.body) return;
const resourceIds = await Note.linkedResourceIds(this.state.note.body);
if (resourceIds.indexOf(resource.id) >= 0) {
if (resourceIds.indexOf(resource.id) >= 0 && this.refs.noteBodyViewer) {
this.refs.noteBodyViewer.rebuildMd();
}
}