fix(YouTube - Custom branding name): Custom name did not apply properly
Close https://github.com/anddea/revanced-patches/issues/1421 Close https://github.com/anddea/revanced-patches/issues/1426
This commit is contained in:
parent
7c8e87425e
commit
02b5519113
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ fun ResourcePatchContext.removeStringsElements(
|
|||
replacements.forEach replacementsLoop@{ replacement ->
|
||||
targetXml.writeText(
|
||||
targetXml.readText()
|
||||
.replaceFirst(""" {4}<string name="$replacement".+""".toRegex(), "")
|
||||
.replaceFirst(""" +<string name="$replacement".+""".toRegex(), "")
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue