Skip to content

Commit

Permalink
fix(youtube/sponsorblock): fix autorepeat button layout (#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios authored and oSumAtrIX committed Apr 16, 2023
1 parent f9a6672 commit 5e148d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class SponsorBlockResourcePatch : ResourcePatch {
if (!(view.hasAttributes() && view.attributes.getNamedItem("android:id").nodeValue.endsWith("live_chat_overlay_button"))) continue

// voting button id from the voting button view from the youtube_controls_layout.xml host file
val votingButtonId = "@+id/voting_button"
val votingButtonId = "@+id/sb_voting_button"

view.attributes.getNamedItem("android:layout_toStartOf").nodeValue = votingButtonId

Expand Down

0 comments on commit 5e148d9

Please sign in to comment.