feat(YouTube - Hide "Get YouTube Premium" advertisements): Name patch correctly (#3079)

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
KobeW50 2023-10-04 23:05:50 -04:00 committed by GitHub
parent 2f0453b64c
commit 5c140ea38d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,8 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch
import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
@Patch( @Patch(
name = "Hide get premium", name = "Hide \"Get YouTube Premium\" advertisements",
description = "Hides YouTube Premium advertisements under video player.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class], dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [ compatiblePackages = [
CompatiblePackage( CompatiblePackage(
@ -41,7 +42,7 @@ object HideGetPremiumPatch : BytecodePatch(setOf(GetPremiumViewFingerprint)) {
"revanced_hide_get_premium", "revanced_hide_get_premium",
StringResource( StringResource(
"revanced_hide_get_premium_title", "revanced_hide_get_premium_title",
"Hide YouTube premium advertisement" "Hide \"Get YouTube Premium\" advertisements"
), ),
StringResource( StringResource(
"revanced_hide_get_premium_summary_on", "revanced_hide_get_premium_summary_on",