diff --git a/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/autorepeat/patch/AutoRepeatPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/autorepeat/patch/AutoRepeatPatch.kt index 923412126..36484b0a3 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/autorepeat/patch/AutoRepeatPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/autorepeat/patch/AutoRepeatPatch.kt @@ -65,7 +65,7 @@ class AutoRepeatPatch : BytecodePatch( addInstructionsWithLabels( targetIndex + 1, """ - invoke-static {}, $UTILS_PATH/EnableAutoRepeatPatch;->shouldAutoRepeat()Z + invoke-static {}, $UTILS_PATH/AlwaysRepeatPatch;->shouldAlwaysRepeat()Z move-result v$dummyRegister if-nez v$dummyRegister, :bypass invoke-virtual {v$registerC, v$registerD}, $targetReference @@ -87,7 +87,7 @@ class AutoRepeatPatch : BytecodePatch( addInstructions( index + 1, """ - invoke-static {v$register}, $UTILS_PATH/EnableAutoRepeatPatch;->enableAutoRepeat(Z)Z + invoke-static {v$register}, $UTILS_PATH/AlwaysRepeatPatch;->enableAlwaysRepeat(Z)Z move-result v0 """ ) diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index a0cf49508..c9b06ce1b 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -85,9 +85,6 @@ Downloader package name Default downloader related settings Downloader settings - Always auto repeat is disabled - Always auto repeat is enabled - Always auto repeat Compact controls overlay is disabled Compact controls overlay is enabled Enable compact controls overlay diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index a41cbc0af..f9bdeac67 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -449,7 +449,6 @@