-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(YouTube): Integrate
Hide double tap overlay filter
patch into …
…the `Player components` patch
- Loading branch information
1 parent
fd3d9a3
commit d7ccd0d
Showing
5 changed files
with
60 additions
and
42 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
...pp/revanced/patches/youtube/layout/doubletapbackground/DoubleTapOverlayBackgroundPatch.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...pp/revanced/patches/youtube/player/components/fingerprints/QuickSeekOverlayFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package app.revanced.patches.youtube.player.components.fingerprints | ||
|
||
import app.revanced.patcher.fingerprint.MethodFingerprint | ||
import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.DarkBackground | ||
import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.TapBloomView | ||
import app.revanced.util.containsWideLiteralInstructionIndex | ||
|
||
internal object QuickSeekOverlayFingerprint : MethodFingerprint( | ||
returnType = "V", | ||
parameters = emptyList(), | ||
customFingerprint = { methodDef, _ -> | ||
methodDef.containsWideLiteralInstructionIndex(DarkBackground) | ||
&& methodDef.containsWideLiteralInstructionIndex(TapBloomView) | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters