Skip to content

Commit

Permalink
feat(YouTube/Change start page): add Change start page type setting i…
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 25, 2024
1 parent 0b49445 commit e8ad2e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ Limitations:
<string name="revanced_change_start_page_entry_subscriptions">Subscriptions</string>
<string name="revanced_change_start_page_entry_trending">Trending</string>
<string name="revanced_change_start_page_entry_watch_later">Watch later</string>
<string name="revanced_change_start_page_type_title">Change start page type</string>
<string name="revanced_change_start_page_type_summary_on">"Start page always changes.

Limitation: Back button on the toolbar may not work."</string>
<string name="revanced_change_start_page_type_summary_off">Start page changes only once.</string>
<string name="revanced_disable_auto_audio_tracks_title">Disable forced auto audio tracks</string>
<string name="revanced_disable_auto_audio_tracks_summary_on">Forced auto audio tracks are disabled.</string>
<string name="revanced_disable_auto_audio_tracks_summary_off">Forced auto audio tracks are enabled.</string>
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@
</PreferenceScreen>SETTINGS: TOOLBAR_COMPONENTS -->

<!-- SETTINGS: CHANGE_START_PAGE
<ListPreference android:entries="@array/revanced_change_start_page_entries" android:title="@string/revanced_change_start_page_title" android:key="revanced_change_start_page" android:entryValues="@array/revanced_change_start_page_entry_values" />SETTINGS: CHANGE_START_PAGE -->
<ListPreference android:entries="@array/revanced_change_start_page_entries" android:title="@string/revanced_change_start_page_title" android:key="revanced_change_start_page" android:entryValues="@array/revanced_change_start_page_entry_values" />
<SwitchPreference android:title="@string/revanced_change_start_page_type_title" android:key="revanced_change_start_page_type" android:summaryOn="@string/revanced_change_start_page_type_summary_on" android:summaryOff="@string/revanced_change_start_page_type_summary_off" />SETTINGS: CHANGE_START_PAGE -->

<!-- SETTINGS: DISABLE_AUTO_AUDIO_TRACKS
<SwitchPreference android:title="@string/revanced_disable_auto_audio_tracks_title" android:key="revanced_disable_auto_audio_tracks" android:summaryOn="@string/revanced_disable_auto_audio_tracks_summary_on" android:summaryOff="@string/revanced_disable_auto_audio_tracks_summary_off" />SETTINGS: DISABLE_AUTO_AUDIO_TRACKS -->
Expand Down

0 comments on commit e8ad2e6

Please sign in to comment.