Tlaster
10/09/2025, 3:45 AMSceneStrategy<T>.then will cause infinite loop and the app will crash, seems like this line cause the issue.Tlaster
10/09/2025, 3:46 AMpublic fun <T : Any> SceneStrategy<T>.then(sceneStrategy: SceneStrategy<T>): SceneStrategy<T> =
object : SceneStrategy<T> {
override fun SceneStrategyScope<T>.calculateScene(
entries: List<NavEntry<T>>
): Scene<T>? =
with(this@then) { calculateScene(entries) } ?:
with(sceneStrategy) { calculateScene(entries) }
}Ian Lake
10/09/2025, 4:05 AMTlaster
10/09/2025, 4:12 AMbryankeltonadams
10/10/2025, 2:33 AMbryankeltonadams
10/10/2025, 6:04 PM