Skip to content

Commit

Permalink
feat(YouTube/Hide player flyout menu): restore `Hide Ambient mode men…
Browse files Browse the repository at this point in the history
…u` setting
  • Loading branch information
inotia00 committed Sep 5, 2024
1 parent 9d5998b commit 8b3c44f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,9 @@ Settings → Autoplay → Autoplay next video"</string>

<!-- PreferenceScreen: Player, PreferenceCategory: Player, PreferenceScreen: Flyout menu, PreferenceCategory: Additional settings -->
<string name="revanced_preference_category_additional_settings">Additional settings</string>
<string name="revanced_hide_player_flyout_menu_ambient_mode_title">Hide Ambient mode menu</string>
<string name="revanced_hide_player_flyout_menu_ambient_mode_summary_on">Ambient mode menu is hidden.</string>
<string name="revanced_hide_player_flyout_menu_ambient_mode_summary_off">Ambient mode menu is shown.</string>
<string name="revanced_hide_player_flyout_menu_help_title">Hide Help &amp; feedback menu</string>
<string name="revanced_hide_player_flyout_menu_help_summary_on">Help &amp; feedback menu is hidden.</string>
<string name="revanced_hide_player_flyout_menu_help_summary_off">Help &amp; feedback menu is shown.</string>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@

<!-- SETTINGS: HIDE_PLAYER_FLYOUT_MENU
<PreferenceCategory android:title="@string/revanced_preference_category_additional_settings" android:layout="@layout/revanced_settings_preferences_category">
<SwitchPreference android:title="@string/revanced_hide_player_flyout_menu_ambient_mode_title" android:key="revanced_hide_player_flyout_menu_ambient_mode" android:summaryOn="@string/revanced_hide_player_flyout_menu_ambient_mode_summary_on" android:summaryOff="@string/revanced_hide_player_flyout_menu_ambient_mode_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_player_flyout_menu_help_title" android:key="revanced_hide_player_flyout_menu_help" android:summaryOn="@string/revanced_hide_player_flyout_menu_help_summary_on" android:summaryOff="@string/revanced_hide_player_flyout_menu_help_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_player_flyout_menu_listen_with_youtube_music_title" android:key="revanced_hide_player_flyout_menu_listen_with_youtube_music" android:summaryOn="@string/revanced_hide_player_flyout_menu_listen_with_youtube_music_summary_on" android:summaryOff="@string/revanced_hide_player_flyout_menu_listen_with_youtube_music_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_player_flyout_menu_loop_video_title" android:key="revanced_hide_player_flyout_menu_loop_video" android:summaryOn="@string/revanced_hide_player_flyout_menu_loop_video_summary_on" android:summaryOff="@string/revanced_hide_player_flyout_menu_loop_video_summary_off" />SETTINGS: HIDE_PLAYER_FLYOUT_MENU -->
Expand Down

0 comments on commit 8b3c44f

Please sign in to comment.