Skip to content

Commit

Permalink
fix: return fallback dependency key
Browse files Browse the repository at this point in the history
  • Loading branch information
adrielcafe committed Feb 21, 2022
1 parent 658d082 commit f33b095
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <reified T : ScreenModel> getOrPut(
Expand Down

0 comments on commit f33b095

Please sign in to comment.