You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: circuitx/navigation/src/commonMain/kotlin/com/slack/circuitx/navigation/intercepting/CircuitInterceptingNavigator.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -51,9 +51,9 @@ public fun rememberCircuitInterceptingNavigator(
51
51
// Handle the back button here to get pop events from it.
52
52
if (enableBackHandler) {
53
53
var trigger by remember { mutableStateOf(false) }
54
-
BackHandler(!trigger&& enableBackHandler) {
54
+
BackHandler(!trigger) {
55
55
// Root pop check to prevent an infinite loop if this is used with the Android variant of
56
-
// rememberCircuitNavigator that calls `OnBackPressedDispatcher.onBackPressed`. We need to
56
+
// rememberCircuitNavigator as that calls `OnBackPressedDispatcher.onBackPressed`. We need to
57
57
// unload this BackHandler from the composition before the root pop is triggered, so delay
0 commit comments