You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +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:
@ -89,13 +89,14 @@ class MdToHtml {
|
||||
if (!resource) {
|
||||
// Can happen for example if an image is attached to a note, but the resource hasn't
|
||||
// been downloaded from the sync target yet.
|
||||
console.warn('Cannot load resource: ' + id);
|
||||
console.info('Cannot load resource: ' + id);
|
||||
delete this.loadedResources_[id];
|
||||
return;
|
||||
}
|
||||
|
||||
if (resource.fetch_status !== Resource.FETCH_STATUS_DONE) {
|
||||
delete this.loadedResources_[id];
|
||||
console.warn('Resource not yet fetched: ' + id);
|
||||
console.info('Resource not yet fetched: ' + id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user