We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7d7fb commit 407c8e6Copy full SHA for 407c8e6
1 file changed
android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsContainer.kt
@@ -379,6 +379,9 @@ internal class TabsContainer(
379
hasTriggeredSpecialEffect = hasTriggeredSpecialEffect,
380
actionOrigin =
381
if (isInExternalOperationContext) {
382
+ check(pendingOperation != null && pendingOperation is TabSelectOp) {
383
+ "[RNScreens] Unexpected pending operation $pendingOperation while in external operation context"
384
+ }
385
(pendingOperation as TabSelectOp).request.actionOrigin
386
} else {
387
TabsActionOrigin.USER
0 commit comments