From 866bcebdd990b964d3dfd5aea792e7fffaedbf44 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 19 Dec 2023 18:48:58 +0100 Subject: [PATCH] feat(Public API): Deprecate `HideEmailAddressPatch` --- .../layout/hide/personalinformation/HideEmailAddressPatch.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/personalinformation/HideEmailAddressPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/personalinformation/HideEmailAddressPatch.kt index 9607163cea..011ec9df00 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/personalinformation/HideEmailAddressPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/personalinformation/HideEmailAddressPatch.kt @@ -1,6 +1,5 @@ package app.revanced.patches.youtube.layout.hide.personalinformation -import app.revanced.util.exception import app.revanced.patcher.data.BytecodeContext import app.revanced.patcher.extensions.InstructionExtensions.addInstructions import app.revanced.patcher.extensions.InstructionExtensions.getInstruction @@ -9,8 +8,10 @@ import app.revanced.patcher.patch.annotation.CompatiblePackage import app.revanced.patcher.patch.annotation.Patch import app.revanced.patches.youtube.layout.hide.personalinformation.fingerprints.AccountSwitcherAccessibilityLabelFingerprint import app.revanced.patches.youtube.misc.integrations.IntegrationsPatch +import app.revanced.util.exception import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction +@Deprecated("This patch is no longer working and will be removed in a future release.") @Patch( description = "Hides the email address in the account switcher.", dependencies = [IntegrationsPatch::class, HideEmailAddressResourcePatch::class],