feat(Strava - Unlock subscription): Remove compatible version constraint

This commit is contained in:
oSumAtrIX 2024-04-06 20:51:24 +02:00
parent d10c4ea4da
commit 80a5599168
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -1,17 +1,16 @@
package app.revanced.patches.strava.subscription package app.revanced.patches.strava.subscription
import app.revanced.util.exception
import app.revanced.patcher.data.BytecodeContext import app.revanced.patcher.data.BytecodeContext
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
import app.revanced.patcher.patch.BytecodePatch import app.revanced.patcher.patch.BytecodePatch
import app.revanced.patcher.patch.annotation.CompatiblePackage import app.revanced.patcher.patch.annotation.CompatiblePackage
import app.revanced.patcher.patch.annotation.Patch import app.revanced.patcher.patch.annotation.Patch
import app.revanced.patches.strava.subscription.fingerprints.GetSubscribedFingerprint import app.revanced.patches.strava.subscription.fingerprints.GetSubscribedFingerprint
import app.revanced.util.exception
@Patch( @Patch(
name = "Unlock subscription features", name = "Unlock subscription features",
description = "Unlocks \"Routes\", \"Matched Runs\" and \"Segment Efforts\".", description = "Unlocks \"Routes\", \"Matched Runs\" and \"Segment Efforts\".",
compatiblePackages = [CompatiblePackage("com.strava", ["320.12"])] compatiblePackages = [CompatiblePackage("com.strava")],
) )
@Suppress("unused") @Suppress("unused")
object UnlockSubscriptionPatch : BytecodePatch(setOf(GetSubscribedFingerprint)) { object UnlockSubscriptionPatch : BytecodePatch(setOf(GetSubscribedFingerprint)) {