From d6f7d4d94bccef28af692d5b2c8159f6eb313dc9 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Tue, 28 Mar 2023 21:40:22 +0900 Subject: [PATCH] fix: `force-player-button-background` patch removes unintended setting --- .../forcebackground/patch/PlayerButtonBackgroundPatch.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/etc/forcebackground/patch/PlayerButtonBackgroundPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/etc/forcebackground/patch/PlayerButtonBackgroundPatch.kt index 49df48461..fd6930c12 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/etc/forcebackground/patch/PlayerButtonBackgroundPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/etc/forcebackground/patch/PlayerButtonBackgroundPatch.kt @@ -46,12 +46,6 @@ class PlayerButtonBackgroundPatch : ResourcePatch { prefs.writeText( prefs.readText() .replace( - "HIDE_NEXT_BUTTON", - "FORCE_BUTTON_BACKGROUND" - ).replace( - "HIDE_PREV_BUTTON", - "FORCE_BUTTON_BACKGROUND" - ).replace( "HIDE_PLAYER_BUTTON_BACKGROUND", "FORCE_BUTTON_BACKGROUND" )