From 5e148d9384e8f9f1bc8f5daa7e68a05574810329 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 7 Apr 2023 11:54:37 +0400 Subject: [PATCH] fix(youtube/sponsorblock): fix autorepeat button layout (#1868) --- .../sponsorblock/resource/patch/SponsorBlockResourcePatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/resource/patch/SponsorBlockResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/resource/patch/SponsorBlockResourcePatch.kt index fb6f903c..7c59a9ac 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/resource/patch/SponsorBlockResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/resource/patch/SponsorBlockResourcePatch.kt @@ -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