fix(youtube/sponsorblock): fix autorepeat button layout (#1868)

This commit is contained in:
LisoUseInAIKyrios
2023-04-07 11:54:37 +04:00
committed by oSumAtrIX
parent f9a6672122
commit 5e148d9384

View File

@ -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