From ebbcac74fd8598daebb4be0bd7c430c41333e2d4 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 6 Aug 2024 01:40:11 +0200 Subject: [PATCH] feat(Expense Manager): Remove non-functional `Unlock pro` patch --- .../patches/moneymanager/UnlockProPatch.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/moneymanager/UnlockProPatch.kt b/src/main/kotlin/app/revanced/patches/moneymanager/UnlockProPatch.kt index 0f5afa70c..200e0cfed 100644 --- a/src/main/kotlin/app/revanced/patches/moneymanager/UnlockProPatch.kt +++ b/src/main/kotlin/app/revanced/patches/moneymanager/UnlockProPatch.kt @@ -8,20 +8,20 @@ import app.revanced.patcher.patch.annotation.Patch import app.revanced.patches.moneymanager.fingerprints.UnlockProFingerprint @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") object UnlockProPatch : BytecodePatch( - setOf(UnlockProFingerprint) -){ + setOf(UnlockProFingerprint), +) { override fun execute(context: BytecodeContext) { - UnlockProFingerprint.result!!.mutableMethod.addInstructions( + UnlockProFingerprint.result!!.mutableMethod.addInstructions( 0, """ const/4 v0, 0x1 return v0 - """ + """, ) } -} \ No newline at end of file +}