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.
onNavigate()
1 parent ee4f864 commit 4bd8624Copy full SHA for 4bd8624
workflow-ui/core-common/src/main/java/com/squareup/workflow1/ui/navigation/NavigationMonitor.kt
@@ -19,7 +19,7 @@ import kotlinx.coroutines.flow.onEach
19
*/
20
public class NavigationMonitor(
21
skipFirstScreen: Boolean = false,
22
- private val onNavigate: (Any) -> Unit = { println(it) }
+ private val onNavigate: (Any) -> Unit = { println(Compatible.keyFor(it)) }
23
) {
24
@Volatile
25
private var lastKey: String? = if (skipFirstScreen) null else ""
0 commit comments