mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Attempt to fix #644
This commit is contained in:
		| @@ -0,0 +1,14 @@ | |||||||
|  | diff --git a/src/functions/Helpers.ts b/src/functions/Helpers.ts | ||||||
|  | index e04486540494891ab07ec130b686dc4acddf2d0c..265e6ac11439276a1c52c222dfc4c50daf1689ae 100644 | ||||||
|  | --- a/src/functions/Helpers.ts | ||||||
|  | +++ b/src/functions/Helpers.ts | ||||||
|  | @@ -77,7 +77,8 @@ export function getNativeNodeHandle(nativeRef: React.Component){ | ||||||
|  |    const nodeHandle = findNodeHandle(nativeRef); | ||||||
|  |   | ||||||
|  |    if(nodeHandle == null){ | ||||||
|  | -    throw new Error('Unable to get the node handle for the native ref.'); | ||||||
|  | +    return 0 | ||||||
|  | +    // throw new Error('Unable to get the node handle for the native ref.'); | ||||||
|  |    }; | ||||||
|  |   | ||||||
|  |    return nodeHandle; | ||||||
| @@ -119,6 +119,7 @@ | |||||||
|     "react-native-fast-image@^8.6.3": "patch:react-native-fast-image@npm%3A8.6.3#./.yarn/patches/react-native-fast-image-npm-8.6.3-03ee2d23c0.patch", |     "react-native-fast-image@^8.6.3": "patch:react-native-fast-image@npm%3A8.6.3#./.yarn/patches/react-native-fast-image-npm-8.6.3-03ee2d23c0.patch", | ||||||
|     "expo-av@^13.0.2": "patch:expo-av@npm%3A13.0.2#./.yarn/patches/expo-av-npm-13.0.2-7a651776f1.patch", |     "expo-av@^13.0.2": "patch:expo-av@npm%3A13.0.2#./.yarn/patches/expo-av-npm-13.0.2-7a651776f1.patch", | ||||||
|     "react-native-share-menu@^6.0.0": "patch:react-native-share-menu@npm%3A6.0.0#./.yarn/patches/react-native-share-menu-npm-6.0.0-f1094c3204.patch", |     "react-native-share-menu@^6.0.0": "patch:react-native-share-menu@npm%3A6.0.0#./.yarn/patches/react-native-share-menu-npm-6.0.0-f1094c3204.patch", | ||||||
|     "@types/react-native-share-menu@^5.0.2": "patch:@types/react-native-share-menu@npm%3A5.0.2#./.yarn/patches/@types-react-native-share-menu-npm-5.0.2-373df17ecc.patch" |     "@types/react-native-share-menu@^5.0.2": "patch:@types/react-native-share-menu@npm%3A5.0.2#./.yarn/patches/@types-react-native-share-menu-npm-5.0.2-373df17ecc.patch", | ||||||
|  |     "react-native-ios-context-menu@^1.15.1": "patch:react-native-ios-context-menu@npm%3A1.15.1#./.yarn/patches/react-native-ios-context-menu-npm-1.15.1-0034bfa5ba.patch" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user