mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-04-30 06:34:28 +02:00
feat(Expense Manager): Remove non-functional Unlock pro
patch
This commit is contained in:
parent
6207c314c6
commit
ebbcac74fd
@ -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…
x
Reference in New Issue
Block a user