From c7ea78824a08ef96b0def6b9859e2adbdd520bf0 Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Mon, 12 Jan 2026 00:10:13 +0700 Subject: [PATCH] refactor(protonmail): RemoveFreeAccountsLimitPatch --- .../protonmail/account/RemoveFreeAccountsLimitPatch.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 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 bc99597b9..0ed2f184e 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 @@ -1,12 +1,11 @@ package app.revanced.patches.protonmail.account -import app.revanced.patcher.patch.resourcePatch +import app.revanced.patcher.patch.creatingResourcePatch import app.revanced.util.findElementByAttributeValueOrThrow -@Suppress("unused") -val removeFreeAccountsLimitPatch = resourcePatch( - name = "Remove free accounts limit", - description = "Removes the limit for maximum free accounts logged in.", +@Suppress("unused", "ObjectPropertyName") +val `Remove free accounts limit` by creatingResourcePatch( + description = "Removes the limit for maximum free accounts logged in." ) { compatibleWith("ch.protonmail.android"("4.15.0"))