feat(Expense Manager): Remove non-functional Unlock pro patch

This commit is contained in:
oSumAtrIX 2024-08-06 01:40:11 +02:00
parent 6207c314c6
commit ebbcac74fd
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -8,20 +8,20 @@ import app.revanced.patcher.patch.annotation.Patch
import app.revanced.patches.moneymanager.fingerprints.UnlockProFingerprint import app.revanced.patches.moneymanager.fingerprints.UnlockProFingerprint
@Patch( @Patch(
name = "Unlock pro", compatiblePackages = [CompatiblePackage("com.ithebk.expensemanager")],
compatiblePackages = [CompatiblePackage("com.ithebk.expensemanager")]
) )
@Deprecated("This patch is not functional anymore and will be removed in the future.")
@Suppress("unused") @Suppress("unused")
object UnlockProPatch : BytecodePatch( object UnlockProPatch : BytecodePatch(
setOf(UnlockProFingerprint) setOf(UnlockProFingerprint),
){ ) {
override fun execute(context: BytecodeContext) { override fun execute(context: BytecodeContext) {
UnlockProFingerprint.result!!.mutableMethod.addInstructions( UnlockProFingerprint.result!!.mutableMethod.addInstructions(
0, 0,
""" """
const/4 v0, 0x1 const/4 v0, 0x1
return v0 return v0
""" """,
) )
} }
} }