fix: Consolidate patches (#3098)

This commit is contained in:
LisoUseInAIKyrios 2023-10-08 05:21:28 +04:00 committed by GitHub
parent 60122df809
commit 02f767df3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,7 @@ 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 YouTube Premium\" advertisements", description = "Hides YouTube Premium signup promotions under the video player.",
description = "Hides YouTube Premium advertisements under video player.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class], dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [ compatiblePackages = [
CompatiblePackage( CompatiblePackage(
@ -42,15 +41,15 @@ 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 \"Get YouTube Premium\" advertisements" "Hide YouTube Premium promotions"
), ),
StringResource( StringResource(
"revanced_hide_get_premium_summary_on", "revanced_hide_get_premium_summary_on",
"YouTube Premium advertisements under video player are hidden" "YouTube Premium promotions under video player is hidden"
), ),
StringResource( StringResource(
"revanced_hide_get_premium_summary_off", "revanced_hide_get_premium_summary_off",
"YouTube Premium advertisements under video player are shown" "YouTube Premium promotions under video player is shown"
) )
) )
) )