mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-09 15:47:02 +01:00
fix: Consolidate patches (#3098)
This commit is contained in:
parent
60122df809
commit
02f767df3c
@ -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"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user