mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2025-05-12 13:45:43 +02:00
feat(Expense Manager): Remove non-functional Unlock pro
patch
This commit is contained in:
parent
6207c314c6
commit
ebbcac74fd
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||||
"""
|
""",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue