mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 13:17:46 +02:00
feat(YouTube - Change start page): Add more start pages (#136)
* Revert "fix(YouTube - Change start page): Use correct browseId for `Podcasts`…"
This reverts commit 66b7761e77
.
* feat(YouTube - Change start page): Update start pages
* Update strings.xml
* Fix
* feat: Fix typo, Switch to Kotlin, Add `Podcasts` and `Virtual Reality`
---------
Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
This commit is contained in:
@ -48,9 +48,9 @@ val changeStartPagePatch = bytecodePatch(
|
||||
|
||||
// There is no browseId assigned to Shorts and Search.
|
||||
// Just hook the Intent action.
|
||||
intentActionFingerprint.methodOrThrow().addInstruction(
|
||||
intentFingerprint.methodOrThrow().addInstruction(
|
||||
0,
|
||||
"invoke-static { p1 }, $EXTENSION_CLASS_DESCRIPTOR->overrideIntentAction(Landroid/content/Intent;)V"
|
||||
"invoke-static { p1 }, $EXTENSION_CLASS_DESCRIPTOR->overrideIntent(Landroid/content/Intent;)V"
|
||||
)
|
||||
|
||||
// region add settings
|
||||
|
@ -15,8 +15,8 @@ internal val browseIdFingerprint = legacyFingerprint(
|
||||
strings = listOf("FEwhat_to_watch"),
|
||||
)
|
||||
|
||||
internal val intentActionFingerprint = legacyFingerprint(
|
||||
name = "intentActionFingerprint",
|
||||
internal val intentFingerprint = legacyFingerprint(
|
||||
name = "intentFingerprint",
|
||||
parameters = listOf("Landroid/content/Intent;"),
|
||||
strings = listOf("has_handled_intent"),
|
||||
)
|
||||
|
Reference in New Issue
Block a user