You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +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:
@@ -7,6 +7,10 @@ shim.isNode = () => {
|
||||
};
|
||||
|
||||
shim.isReactNative = () => {
|
||||
if (typeof navigator === 'object' && typeof navigator.userAgent === 'string' && navigator.userAgent.indexOf('ReactNativeDebugger') >= 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return !shim.isNode();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user