mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-12 14:17:46 +01:00
fix(youtube/sponsorblock): fix autorepeat button layout (#1868)
This commit is contained in:
parent
f9a6672122
commit
5e148d9384
@ -95,7 +95,7 @@ class SponsorBlockResourcePatch : ResourcePatch {
|
|||||||
if (!(view.hasAttributes() && view.attributes.getNamedItem("android:id").nodeValue.endsWith("live_chat_overlay_button"))) continue
|
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
|
// 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
|
view.attributes.getNamedItem("android:layout_toStartOf").nodeValue = votingButtonId
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user