* update dev deps
* partial update dependencies
* update watermelondb
* update rn to 0.76.5, expo to 52.0.18 and others
* upgrade android firebase
* upgrade detox deps
* fix package-lock.json
* update emm and paste-input
* update turbo-log
* update network library
* fix tests
* review feedback
* fix Keyboard blocking signIn button
* Fall back to iphone 14 iOS 17.2 simulator as app crashes on iOS 17.4
* changes in deleteCredentialsForServer is causing a crash
* withOptions x2 clearly is wrong
* re-add cli-platform-apple fix
* fix: RN 0.76.5 issue with bottom sheet disappearing (#8478)
* experiment, using view vs BottomSheetView
* revert previous & try disabling enableDynamicSizing
* revert an unintended removal
---------
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
(cherry picked from commit 2f3dfbbbfa)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
19 lines
705 B
Diff
19 lines
705 B
Diff
diff --git a/node_modules/react-native-svg/src/xml.tsx b/node_modules/react-native-svg/src/xml.tsx
|
|
index edfaa9b..41246bb 100644
|
|
--- a/node_modules/react-native-svg/src/xml.tsx
|
|
+++ b/node_modules/react-native-svg/src/xml.tsx
|
|
@@ -87,9 +87,11 @@ export function SvgUri(props: UriProps) {
|
|
uri
|
|
? fetchText(uri)
|
|
.then((data) => {
|
|
- setXml(data);
|
|
- isError && setIsError(false);
|
|
- onLoad?.();
|
|
+ if (xml && /xmlns="http:\/\/www.w3.org\/[0-9]*\/svg"/.test(xml)) {
|
|
+ setXml(data);
|
|
+ isError && setIsError(false);
|
|
+ onLoad?.();
|
|
+ }
|
|
})
|
|
.catch((e) => {
|
|
onError(e);
|