Skip to content

Commit d821bc9

Browse files
author
hoodles
committed
PR comments
1 parent aa09f99 commit d821bc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patches/src/main/kotlin/app/revanced/patches/primevideo/ads/SkipAdsPatch.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ val skipAdsPatch = bytecodePatch(
1515
name = "Skip ads",
1616
description = "Automatically skips video stream ads.",
1717
) {
18-
compatibleWith("com.amazon.avod.thirdpartyclient")
18+
compatibleWith("com.amazon.avod.thirdpartyclient"("3.0.430.1747"))
1919

2020
dependsOn(sharedExtensionPatch)
2121

@@ -47,8 +47,8 @@ val skipAdsPatch = bytecodePatch(
4747
}
4848

4949
// Return early from these callbacks to prevent unwanted overlays from ad breaks.
50-
onSeekBehindUnwatchedAdFingerprint.methodOrNull?.returnEarly()
51-
onSeekPastUnwatchedAdFingerprint.methodOrNull?.returnEarly()
50+
onSeekBehindUnwatchedAdFingerprint.method.returnEarly()
51+
onSeekPastUnwatchedAdFingerprint.method.returnEarly()
5252
}
5353
}
5454

0 commit comments

Comments
 (0)