Skip to content

Commit

Permalink
fix(youtube/bottom-controls-resource-patch): use correct length for `…
Browse files Browse the repository at this point in the history
…nameSpaceLength` (#1401)
  • Loading branch information
aliernfrog committed Dec 30, 2022
1 parent 7960d7f commit 7190066
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7190066

Please sign in to comment.