fix: handle null properly (#64)

This commit is contained in:
bogadana 2022-07-07 08:33:40 +02:00 committed by GitHub
parent 89a27dfbe6
commit 482af78f2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ class Patcher(private val options: PatcherOptions) {
return PatcherResult( return PatcherResult(
dexFiles.map { dexFiles.map {
app.revanced.patcher.util.dex.DexFile(it.key, it.value.readAt(0)) app.revanced.patcher.util.dex.DexFile(it.key, it.value.readAt(0))
}, metaInfo.doNotCompress.toList(), resourceFile }, metaInfo.doNotCompress?.toList(), resourceFile
) )
} }