From 189529151aea81478620499a32237a9b97dca051 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 22 Aug 2025 00:09:46 -0400 Subject: [PATCH] fix(Proton mail): Constrain patches to last working app target --- .../patches/protonmail/account/RemoveFreeAccountsLimitPatch.kt | 2 +- .../protonmail/signature/RemoveSentFromSignaturePatch.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/protonmail/account/RemoveFreeAccountsLimitPatch.kt b/patches/src/main/kotlin/app/revanced/patches/protonmail/account/RemoveFreeAccountsLimitPatch.kt index 473d8d400..cd81f1bb4 100644 --- a/patches/src/main/kotlin/app/revanced/patches/protonmail/account/RemoveFreeAccountsLimitPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/protonmail/account/RemoveFreeAccountsLimitPatch.kt @@ -8,7 +8,7 @@ val removeFreeAccountsLimitPatch = resourcePatch( name = "Remove free accounts limit", description = "Removes the limit for maximum free accounts logged in.", ) { - compatibleWith("ch.protonmail.android") + compatibleWith("ch.protonmail.android"("4.15.0")) execute { document("res/values/integers.xml").use { document -> diff --git a/patches/src/main/kotlin/app/revanced/patches/protonmail/signature/RemoveSentFromSignaturePatch.kt b/patches/src/main/kotlin/app/revanced/patches/protonmail/signature/RemoveSentFromSignaturePatch.kt index a59b8e7dd..44098a2df 100644 --- a/patches/src/main/kotlin/app/revanced/patches/protonmail/signature/RemoveSentFromSignaturePatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/protonmail/signature/RemoveSentFromSignaturePatch.kt @@ -10,7 +10,7 @@ val removeSentFromSignaturePatch = resourcePatch( name = "Remove 'Sent from' signature", description = "Removes the 'Sent from Proton Mail mobile' signature from emails.", ) { - compatibleWith("ch.protonmail.android") + compatibleWith("ch.protonmail.android"("4.15.0")) execute { val stringResourceFiles = mutableListOf()