mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-25 11:41:04 +00:00
feat(Instagram): Disable Disable Reels scrolling by default
This commit is contained in:
@@ -9,7 +9,7 @@ val disableReelsScrollingPatch = bytecodePatch(
|
|||||||
name = "Disable Reels scrolling",
|
name = "Disable Reels scrolling",
|
||||||
description = "Disables the endless scrolling behavior in Instagram Reels, preventing swiping to the next Reel. " +
|
description = "Disables the endless scrolling behavior in Instagram Reels, preventing swiping to the next Reel. " +
|
||||||
"Note: On a clean install, the 'Tip' animation may appear but will stop on its own after a few seconds.",
|
"Note: On a clean install, the 'Tip' animation may appear but will stop on its own after a few seconds.",
|
||||||
use = true
|
use = false
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.instagram.android")
|
compatibleWith("com.instagram.android")
|
||||||
|
|
||||||
@@ -31,4 +31,4 @@ val disableReelsScrollingPatch = bytecodePatch(
|
|||||||
// Return false in onInterceptTouchEvent to disable pull-to-refresh.
|
// Return false in onInterceptTouchEvent to disable pull-to-refresh.
|
||||||
clipsSwipeRefreshLayoutOnInterceptTouchEventFingerprint.method.returnEarly(false)
|
clipsSwipeRefreshLayoutOnInterceptTouchEventFingerprint.method.returnEarly(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user