diff --git a/shared/src/iosMain/kotlin/co/touchlab/droidcon/util/BundleResourceReader.kt b/shared/src/iosMain/kotlin/co/touchlab/droidcon/util/BundleResourceReader.kt index 13e1d3e5..db16b882 100644 --- a/shared/src/iosMain/kotlin/co/touchlab/droidcon/util/BundleResourceReader.kt +++ b/shared/src/iosMain/kotlin/co/touchlab/droidcon/util/BundleResourceReader.kt @@ -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 {