generated from ReVanced/revanced-patches-template
-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(YouTube - Hide layout components): Hide new channel watermark com…
…ponent
- Loading branch information
Showing
4 changed files
with
38 additions
and
74 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
...rprints/HideWatermarkParentFingerprint.kt → .../fingerprints/PlayerOverlayFingerprint.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package app.revanced.patches.youtube.layout.hide.watermark.fingerprints | ||
package app.revanced.patches.youtube.layout.hide.general.fingerprints | ||
|
||
import app.revanced.patcher.extensions.or | ||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint | ||
import com.android.tools.smali.dexlib2.AccessFlags | ||
|
||
object HideWatermarkParentFingerprint : MethodFingerprint ( | ||
object PlayerOverlayFingerprint : MethodFingerprint ( | ||
"L", AccessFlags.PUBLIC or AccessFlags.FINAL, strings = listOf("player_overlay_in_video_programming") | ||
) |
4 changes: 2 additions & 2 deletions
4
.../fingerprints/HideWatermarkFingerprint.kt → .../fingerprints/ShowWatermarkFingerprint.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package app.revanced.patches.youtube.layout.hide.watermark.fingerprints | ||
package app.revanced.patches.youtube.layout.hide.general.fingerprints | ||
|
||
import app.revanced.patcher.extensions.or | ||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint | ||
import com.android.tools.smali.dexlib2.AccessFlags | ||
|
||
object HideWatermarkFingerprint : MethodFingerprint ( | ||
object ShowWatermarkFingerprint : MethodFingerprint ( | ||
"V", AccessFlags.PUBLIC or AccessFlags.FINAL, listOf("L", "L") | ||
) |
68 changes: 0 additions & 68 deletions
68
src/main/kotlin/app/revanced/patches/youtube/layout/hide/watermark/HideWatermarkPatch.kt
This file was deleted.
Oops, something went wrong.