Skip to content

Commit 6b80938

Browse files
authored
Merge pull request #1183 from square/ray/compose-hint
ScreenViewFactoryFinder main error message mentions Compose.
2 parents de5eea1 + a1ab4af commit 6b80938

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/ScreenViewFactoryFinder.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ public fun <ScreenT : Screen> ScreenViewFactoryFinder.requireViewFactoryForRende
9696
"${
9797
environment[ViewRegistry]
9898
.getEntryFor(Key(rendering::class, ScreenViewFactory::class))
99-
}."
99+
}. If this rendering is Compose based, you may be missing a call to " +
100+
"ViewEnvironment.withComposeInteropSupport() " +
101+
"from module com.squareup.workflow1:workflow-ui-compose at the top " +
102+
"of your Android view hierarchy."
100103
)
101104
}

0 commit comments

Comments
 (0)