mirror of
https://github.com/tooot-app/app
synced 2025-01-03 13:10:23 +01:00
Temp patch
https://github.com/software-mansion/react-native-screens/pull/1566
This commit is contained in:
parent
d1a737eb51
commit
471f3f3391
13
patches/react-native-screens+3.16.0.patch
Normal file
13
patches/react-native-screens+3.16.0.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenContainer.kt b/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenContainer.kt
|
||||
index 55e08c2..dee876b 100644
|
||||
--- a/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenContainer.kt
|
||||
+++ b/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenContainer.kt
|
||||
@@ -165,7 +165,7 @@ open class ScreenContainer<T : ScreenFragment>(context: Context?) : ViewGroup(co
|
||||
try {
|
||||
FragmentManager.findFragment<Fragment>(rootView).childFragmentManager
|
||||
} catch (ex: IllegalStateException) {
|
||||
- throw IllegalStateException("Failed to find fragment for React Root View")
|
||||
+ context.supportFragmentManager
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user