diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/FixAudioMissingInDownloadsPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/FixAudioMissingInDownloadsPatch.kt index 10356965..68438b09 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/FixAudioMissingInDownloadsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/FixAudioMissingInDownloadsPatch.kt @@ -25,7 +25,7 @@ object FixAudioMissingInDownloadsPatch : BytecodePatch( ) override fun execute(context: BytecodeContext) { DownloadAudioFingerprint.resultOrThrow().let { result -> - result.scanResult.stringsScanResult!!.matches.take(2).forEach { match -> + result.scanResult.stringsScanResult!!.matches.forEach { match -> result.mutableMethod.apply { val replacement = endpointReplacements[match.string] val register = getInstruction(match.index).registerA diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/fingerprints/DownloadAudioFingerprint.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/fingerprints/DownloadAudioFingerprint.kt index b5261523..ebf06641 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/fingerprints/DownloadAudioFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/boostforreddit/fix/downloads/fingerprints/DownloadAudioFingerprint.kt @@ -3,5 +3,5 @@ package app.revanced.patches.reddit.customclients.boostforreddit.fix.downloads.f import app.revanced.patcher.fingerprint.MethodFingerprint internal object DownloadAudioFingerprint : MethodFingerprint( - strings = setOf("/DASH_audio.mp4", "/audio", "v.redd.it", "/"), + strings = setOf("/DASH_audio.mp4", "/audio"), )