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.
2 parents ee4f864 + 4bd8624 commit c8e0b29Copy full SHA for c8e0b29
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