Skip to content

Commit

Permalink
Update shared/src/iosMain/kotlin/co/touchlab/droidcon/util/BundleReso…
Browse files Browse the repository at this point in the history
…urceReader.kt

Co-authored-by: Tadeas Kriz <[email protected]>
  • Loading branch information
KevinSchildhorn and TadeasKriz authored Oct 24, 2024
1 parent c9bc9aa commit c3816b4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ class BundleResourceReader(
name to null
}
}
val path = bundle
.pathForResource(filename, type) ?: error(
"Couldn't get path of $name (parsed as: ${listOfNotNull(filename, type)
.joinToString(".")})"
val path = bundle.pathForResource(filename, type) ?: error(
"Couldn't get path of $name (parsed as: ${listOfNotNull(filename, type).joinToString(".")})"
)

return memScoped {
Expand Down

0 comments on commit c3816b4

Please sign in to comment.