diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt index fbba6efd3..4e94b219e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt @@ -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