diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/ChangeHeaderPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/CustomHeaderPatch.kt similarity index 98% rename from src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/ChangeHeaderPatch.kt rename to src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/CustomHeaderPatch.kt index d1dfe72225..81cc1ea08e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/ChangeHeaderPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/CustomHeaderPatch.kt @@ -11,7 +11,7 @@ import app.revanced.util.copyResources import java.io.File @Patch( - name = "Change header", + name = "Custom header", description = "Change the in app header. Defaults to the ReVanced header.", compatiblePackages = [ CompatiblePackage("com.google.android.youtube") @@ -19,7 +19,7 @@ import java.io.File use = false ) @Suppress("unused") -object ChangeHeaderPatch : ResourcePatch() { +object CustomHeaderPatch : ResourcePatch() { private const val HEADER_NAME = "yt_wordmark_header" private const val PREMIUM_HEADER_NAME = "yt_premium_wordmark_header" private const val REVANCED_HEADER_NAME = "ReVanced" diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/PremiumHeadingPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/PremiumHeadingPatch.kt index 5b88c8c286..72f0d1463d 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/PremiumHeadingPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/PremiumHeadingPatch.kt @@ -5,5 +5,5 @@ import app.revanced.patcher.patch.ResourcePatch @Deprecated("Use PremiumHeadingPatch instead.") object PremiumHeadingPatch : ResourcePatch() { - override fun execute(context: ResourceContext) = ChangeHeaderPatch.execute(context) + override fun execute(context: ResourceContext) = CustomHeaderPatch.execute(context) }