Skip to content

Commit 866bceb

Browse files
committed
feat(Public API): Deprecate HideEmailAddressPatch
1 parent 3b84305 commit 866bceb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/app/revanced/patches/youtube/layout/hide/personalinformation/HideEmailAddressPatch.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package app.revanced.patches.youtube.layout.hide.personalinformation
22

3-
import app.revanced.util.exception
43
import app.revanced.patcher.data.BytecodeContext
54
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
65
import app.revanced.patcher.extensions.InstructionExtensions.getInstruction
@@ -9,8 +8,10 @@ import app.revanced.patcher.patch.annotation.CompatiblePackage
98
import app.revanced.patcher.patch.annotation.Patch
109
import app.revanced.patches.youtube.layout.hide.personalinformation.fingerprints.AccountSwitcherAccessibilityLabelFingerprint
1110
import app.revanced.patches.youtube.misc.integrations.IntegrationsPatch
11+
import app.revanced.util.exception
1212
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
1313

14+
@Deprecated("This patch is no longer working and will be removed in a future release.")
1415
@Patch(
1516
description = "Hides the email address in the account switcher.",
1617
dependencies = [IntegrationsPatch::class, HideEmailAddressResourcePatch::class],

0 commit comments

Comments
 (0)