diff --git a/src/main/kotlin/app/revanced/patches/reddit/utils/fix/decoding/patch/DecodingPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/utils/fix/decoding/patch/DecodingPatch.kt deleted file mode 100644 index 307134fa4..000000000 --- a/src/main/kotlin/app/revanced/patches/reddit/utils/fix/decoding/patch/DecodingPatch.kt +++ /dev/null @@ -1,28 +0,0 @@ -package app.revanced.patches.reddit.utils.fix.decoding.patch - -import app.revanced.patcher.data.ResourceContext -import app.revanced.patcher.patch.ResourcePatch - -class DecodingPatch : ResourcePatch { - override fun execute(context: ResourceContext) { - - arrayOf( - "res/layout/notification_media_cancel_action.xml", - "res/values/styles.xml" - ).forEach { xmlPath -> - context[xmlPath].apply { - writeText( - readText() - .replace( - "@android:drawable/cling_button", - "@android:drawable/sym_def_app_icon" - ).replace( - "@android:drawable/ab_share_pack_material", - "@android:drawable/ic_menu_close_clear_cancel" - ) - ) - } - } - - } -} \ No newline at end of file diff --git a/src/main/kotlin/app/revanced/patches/reddit/utils/settings/resource/patch/SettingsPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/utils/settings/resource/patch/SettingsPatch.kt index 7b7ada013..75ca9c031 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/utils/settings/resource/patch/SettingsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/utils/settings/resource/patch/SettingsPatch.kt @@ -8,7 +8,6 @@ import app.revanced.patcher.patch.ResourcePatch import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.annotations.Patch import app.revanced.patches.reddit.utils.annotations.RedditCompatibility -import app.revanced.patches.reddit.utils.fix.decoding.patch.DecodingPatch import app.revanced.patches.reddit.utils.integrations.patch.IntegrationsPatch import app.revanced.patches.reddit.utils.settings.bytecode.patch.SettingsBytecodePatch import kotlin.io.path.exists @@ -18,7 +17,6 @@ import kotlin.io.path.exists @Description("Adds ReVanced settings to Reddit.") @DependsOn( [ - DecodingPatch::class, IntegrationsPatch::class, SettingsBytecodePatch::class ]