diff --git a/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/writers/sub/NavGraphsSingleObjectWriter.kt b/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/writers/sub/NavGraphsSingleObjectWriter.kt index 18cac033..7f0a09df 100644 --- a/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/writers/sub/NavGraphsSingleObjectWriter.kt +++ b/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/writers/sub/NavGraphsSingleObjectWriter.kt @@ -36,7 +36,7 @@ internal class NavGraphsSingleObjectWriter( private fun navGraphWriter(rawNavGraphTree: RawNavGraphTree) = singleNavGraphWriter( codeGenerator, - importableHelper, + ImportableHelper(navGraphsObjectTemplate.imports), rawNavGraphTree, NavArgResolver(customNavTypeByType, importableHelper) )