mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-04 16:44:29 +02:00
fix(Custom branding name): patching time is long on RVX Manager
This commit is contained in:
parent
e613fd2d67
commit
c93402a88d
@ -19,7 +19,7 @@ abstract class AbstractRemoveStringsElementsPatch(
|
|||||||
replacements.forEach replacementsLoop@{ replacement ->
|
replacements.forEach replacementsLoop@{ replacement ->
|
||||||
targetXml.writeText(
|
targetXml.writeText(
|
||||||
targetXml.readText()
|
targetXml.readText()
|
||||||
.replace(""".+"$replacement".+""".toRegex(), "")
|
.replaceFirst(""" {4}<string name="$replacement".+""".toRegex(), "")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user