File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
src/main/kotlin/app/revanced/patches/instagram/story/flipping Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,10 @@ public final class app/revanced/patches/instagram/misc/signature/SignatureCheckP
320320 public static final fun getSignatureCheckPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
321321}
322322
323+ public final class app/revanced/patches/instagram/story/flipping/DisableStoryAutoFlippingPatchKt {
324+ public static final fun getDisableStoryAutoFlippingPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
325+ }
326+
323327public final class app/revanced/patches/irplus/ad/RemoveAdsPatchKt {
324328 public static final fun getRemoveAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
325329}
Original file line number Diff line number Diff line change 1+ package app.revanced.patches.instagram.story.flipping
2+
3+ import app.revanced.patcher.patch.bytecodePatch
4+ import app.revanced.util.returnEarly
5+
6+ @Suppress(" unused" )
7+ val disableStoryAutoFlippingPatch = bytecodePatch(
8+ name = " Disable story auto flipping" ,
9+ description = " Disable stories automatically flipping/skipping after some seconds." ,
10+ use = false
11+ ) {
12+ compatibleWith(" com.instagram.android" )
13+
14+ execute {
15+ onStoryTimeoutActionFingerprint.method.returnEarly()
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ package app.revanced.patches.instagram.story.flipping
2+
3+ import app.revanced.patcher.fingerprint
4+
5+ internal val onStoryTimeoutActionFingerprint = fingerprint {
6+ parameters(" Ljava/lang/Object;" )
7+ returns(" V" )
8+ strings(" userSession" )
9+ custom { _, classDef ->
10+ classDef.type == " Linstagram/features/stories/fragment/ReelViewerFragment;"
11+ }
12+ }
You can’t perform that action at this time.
0 commit comments