From a7f15bae57c1041c28c0fa680bf5e7d397c1568e Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 24 Apr 2023 03:12:09 +0200 Subject: [PATCH] chore(youtube): fix invalid filenames --- .../{DebuggingPatc.kt => EnableAndroidDebuggingPatch.kt} | 1 - ...Compatibility.kt => HideEndscreenCardsCompatibility.kt} | 0 .../patches/youtube/misc/debugging/patch/DebuggingPatch.kt | 7 ++++--- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/{DebuggingPatc.kt => EnableAndroidDebuggingPatch.kt} (96%) rename src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreencards/annotations/{HideEndScreenCardsCompatibility.kt => HideEndscreenCardsCompatibility.kt} (100%) diff --git a/src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/DebuggingPatc.kt b/src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/EnableAndroidDebuggingPatch.kt similarity index 96% rename from src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/DebuggingPatc.kt rename to src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/EnableAndroidDebuggingPatch.kt index 0a4dfae9c..4143f1c2d 100644 --- a/src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/DebuggingPatc.kt +++ b/src/main/kotlin/app/revanced/patches/all/misc/debugging/patch/EnableAndroidDebuggingPatch.kt @@ -5,7 +5,6 @@ import app.revanced.patcher.annotation.Name import app.revanced.patcher.annotation.Version import app.revanced.patcher.data.ResourceContext import app.revanced.patcher.patch.* -import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.annotations.Patch import org.w3c.dom.Element diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreencards/annotations/HideEndScreenCardsCompatibility.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreencards/annotations/HideEndscreenCardsCompatibility.kt similarity index 100% rename from src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreencards/annotations/HideEndScreenCardsCompatibility.kt rename to src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreencards/annotations/HideEndscreenCardsCompatibility.kt diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/patch/DebuggingPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/patch/DebuggingPatch.kt index 8a2a8c88e..ef0dba238 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/patch/DebuggingPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/patch/DebuggingPatch.kt @@ -4,16 +4,17 @@ import app.revanced.patcher.annotation.Description import app.revanced.patcher.annotation.Name import app.revanced.patcher.annotation.Version import app.revanced.patcher.data.ResourceContext -import app.revanced.patcher.patch.* +import app.revanced.patcher.patch.PatchResult +import app.revanced.patcher.patch.PatchResultSuccess +import app.revanced.patcher.patch.ResourcePatch import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.annotations.Patch +import app.revanced.patches.all.misc.debugging.patch.EnableAndroidDebuggingPatch import app.revanced.patches.shared.settings.preference.impl.StringResource import app.revanced.patches.shared.settings.preference.impl.SwitchPreference import app.revanced.patches.youtube.misc.debugging.annotations.DebuggingCompatibility import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch -import app.revanced.patches.all.misc.debugging.patch.EnableAndroidDebuggingPatch import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch -import org.w3c.dom.Element @Patch @Name("enable-debugging")