Skip to content

Commit

Permalink
feat(YouTube - Change start page): Add more start pages
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Feb 8, 2024
1 parent 1a10238 commit cc1d9b7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
21 changes: 15 additions & 6 deletions src/main/resources/addresources/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@
</patch>
<patch id="layout.startpage.ChangeStartPagePatch">
<string-array name="revanced_start_page_entries">
<item>@string/revanced_start_page_home_entry_0</item>
<item>@string/revanced_start_page_home_entry_1</item>
<item>@string/revanced_start_page_search_entry_2</item>
<item>@string/revanced_start_page_subscriptions_entry_3</item>
<item>@string/revanced_start_page_explore_entry_4</item>
<item>@string/revanced_start_page_shorts_entry_5</item>
<item>@string/revanced_start_page_entry_0</item>
<item>@string/revanced_start_page_entry_1</item>
<item>@string/revanced_start_page_entry_2</item>
<item>@string/revanced_start_page_entry_3</item>
<item>@string/revanced_start_page_entry_4</item>
<item>@string/revanced_start_page_entry_5</item>
<item>@string/revanced_start_page_entry_6</item>
<item>@string/revanced_start_page_entry_7</item>
<item>@string/revanced_start_page_entry_8</item>
<item>@string/revanced_start_page_entry_9</item>
</string-array>
<string-array name="revanced_start_page_entry_values">
<item/>
Expand All @@ -34,6 +38,11 @@
<item>open.subscriptions</item>
<item>open.explore</item>
<item>open.shorts</item>
<item>www.youtube.com/feed/library</item>
<!-- Liked videos -->
<item>www.youtube.com/playlist?list=LL</item>
<item>www.youtube.com/feed/history</item>
<item>www.youtube.com/feed/trending</item>
</string-array>
</patch>
<patch id="layout.thumbnails.AlternativeThumbnailsPatch">
Expand Down
16 changes: 10 additions & 6 deletions src/main/resources/addresources/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -792,12 +792,16 @@
</patch>
<patch id="layout.startpage.ChangeStartPagePatch">
<string name="revanced_start_page_title">Set start page</string>
<string name="revanced_start_page_home_entry_0">Default</string>
<string name="revanced_start_page_home_entry_1">Home</string>
<string name="revanced_start_page_search_entry_2">Search</string>
<string name="revanced_start_page_subscriptions_entry_3">Subscriptions</string>
<string name="revanced_start_page_explore_entry_4">Explore</string>
<string name="revanced_start_page_shorts_entry_5">Shorts</string>
<string name="revanced_start_page_entry_0">Default</string>
<string name="revanced_start_page_entry_1">Home</string>
<string name="revanced_start_page_entry_2">Search</string>
<string name="revanced_start_page_entry_3">Subscriptions</string>
<string name="revanced_start_page_entry_4">Explore</string>
<string name="revanced_start_page_entry_5">Shorts</string>
<string name="revanced_start_page_entry_6">Library</string>
<string name="revanced_start_page_entry_7">Liked videos</string>
<string name="revanced_start_page_entry_8">History</string>
<string name="revanced_start_page_entry_9">Trending</string>
</patch>
<patch id="layout.startupshortsreset.DisableResumingShortsOnStartupPatch">
<string name="revanced_disable_resuming_shorts_player_title">Disable resuming Shorts player</string>
Expand Down

0 comments on commit cc1d9b7

Please sign in to comment.