mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-12 18:04:24 +01:00
refactor: Simplify mapping classes to their names (#290)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
f77e99e817
commit
d8b4c60321
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ sealed class PatchBundleLoader private constructor(
|
||||||
patchBundles,
|
patchBundles,
|
||||||
{ patchBundle ->
|
{ patchBundle ->
|
||||||
JarFile(patchBundle).entries().toList().filter { it.name.endsWith(".class") }
|
JarFile(patchBundle).entries().toList().filter { it.name.endsWith(".class") }
|
||||||
.map { it.name.replace('/', '.').replace(".class", "") }
|
.map { it.name.substringBeforeLast('.').replace('/', '.') }
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue