1
0
mirror of https://github.com/tooot-app/app synced 2025-01-08 23:54:22 +01:00

Merge pull request #376 from tooot-app/main

Test v4.3
This commit is contained in:
xmflsct 2022-08-19 17:45:29 +02:00 committed by GitHub
commit 6929d5d167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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
}
}
}