You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Mobile: Fixes #3344: Fixed regression that would cause links in notes to open within app itself
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
|
||||
// console.disableYellowBox = true
|
||||
|
||||
import { YellowBox, AppRegistry, NativeModules } from 'react-native';
|
||||
import { YellowBox, AppRegistry } from 'react-native';
|
||||
YellowBox.ignoreWarnings([
|
||||
'Require cycle: node_modules/react-native-',
|
||||
'Require cycle: node_modules/rn-fetch-blob',
|
||||
@ -19,11 +19,12 @@ YellowBox.ignoreWarnings([
|
||||
const { Root } = require('./root.js');
|
||||
|
||||
// Disable buggy Fast Refresh
|
||||
if (__DEV__) {
|
||||
const { DevSettings } = NativeModules;
|
||||
DevSettings.setHotLoadingEnabled(false);
|
||||
DevSettings.setLiveReloadEnabled(false);
|
||||
}
|
||||
// NOTE: not working - can make the app go into an infinite crash/restart loop
|
||||
// if (__DEV__) {
|
||||
// const { DevSettings } = NativeModules;
|
||||
// DevSettings.setHotLoadingEnabled(false);
|
||||
// DevSettings.setLiveReloadEnabled(false);
|
||||
// }
|
||||
|
||||
function main() {
|
||||
AppRegistry.registerComponent('Joplin', () => Root);
|
||||
|
Reference in New Issue
Block a user