diff --git a/voyager-core/src/commonMain/kotlin/cafe/adriel/voyager/core/model/ScreenModelStore.kt b/voyager-core/src/commonMain/kotlin/cafe/adriel/voyager/core/model/ScreenModelStore.kt index fd5d54fd..90dd2c40 100644 --- a/voyager-core/src/commonMain/kotlin/cafe/adriel/voyager/core/model/ScreenModelStore.kt +++ b/voyager-core/src/commonMain/kotlin/cafe/adriel/voyager/core/model/ScreenModelStore.kt @@ -36,7 +36,7 @@ public object ScreenModelStore { } ?: lastScreenModelKey.value ?.let { "$it:$name" } - ?: error("ScreenModel not found: ${screenModel::class.qualifiedName}") + ?: "standalone:$name" @PublishedApi internal inline fun getOrPut(