mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 09:07:46 +01:00
fix(youtube/bottom-controls-resource-patch): use correct length for nameSpaceLength
(#1401)
This commit is contained in:
parent
7960d7f8b1
commit
7190066a8d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class BottomControlsResourcePatch : ResourcePatch {
|
|||
"$namespace/$lastLeftOf"
|
||||
|
||||
// set lastLeftOf attribute to the the current element
|
||||
val nameSpaceLength = 4
|
||||
val nameSpaceLength = 5
|
||||
lastLeftOf = element.attributes.getNamedItem("android:id").nodeValue.substring(nameSpaceLength)
|
||||
|
||||
// copy the element
|
||||
|
|
Loading…
Reference in a new issue