feat(YouTube/Hide comment component): add Hide preview comment type settings

This commit is contained in:
inotia00 2024-01-17 21:19:40 +09:00
parent 5cd1f88fd8
commit a6b41eb1be
2 changed files with 4 additions and 0 deletions

View File

@ -556,6 +556,9 @@ Some components may not be hidden."</string>
<string name="revanced_hide_preview_comment_off">Preview comment is shown.</string> <string name="revanced_hide_preview_comment_off">Preview comment is shown.</string>
<string name="revanced_hide_preview_comment_on">Preview comment is hidden.</string> <string name="revanced_hide_preview_comment_on">Preview comment is hidden.</string>
<string name="revanced_hide_preview_comment_title">Hide preview comment</string> <string name="revanced_hide_preview_comment_title">Hide preview comment</string>
<string name="revanced_hide_preview_comment_type_off">This changes the size of the comment section, so it is impossible to open a live chat replay in the comment section.</string>
<string name="revanced_hide_preview_comment_type_on">This does not change the size of the comment section, so it is possible to open the live chat replay in the comment section.</string>
<string name="revanced_hide_preview_comment_type_title">Hide preview comment type</string>
<string name="revanced_hide_previous_next_button_summary_off">Buttons are shown.</string> <string name="revanced_hide_previous_next_button_summary_off">Buttons are shown.</string>
<string name="revanced_hide_previous_next_button_summary_on">Buttons are hidden.</string> <string name="revanced_hide_previous_next_button_summary_on">Buttons are hidden.</string>
<string name="revanced_hide_previous_next_button_title">Hide previous &amp; next button</string> <string name="revanced_hide_previous_next_button_title">Hide previous &amp; next button</string>

View File

@ -83,6 +83,7 @@
<SwitchPreference android:title="@string/revanced_hide_create_shorts_button_title" android:key="revanced_hide_create_shorts_button" android:defaultValue="false" android:summaryOn="@string/revanced_hide_create_shorts_button_summary_on" android:summaryOff="@string/revanced_hide_create_shorts_button_summary_off" /> <SwitchPreference android:title="@string/revanced_hide_create_shorts_button_title" android:key="revanced_hide_create_shorts_button" android:defaultValue="false" android:summaryOn="@string/revanced_hide_create_shorts_button_summary_on" android:summaryOff="@string/revanced_hide_create_shorts_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_emoji_picker_title" android:key="revanced_hide_emoji_picker" android:defaultValue="false" android:summaryOn="@string/revanced_hide_emoji_picker_summary_on" android:summaryOff="@string/revanced_hide_emoji_picker_summary_off" /> <SwitchPreference android:title="@string/revanced_hide_emoji_picker_title" android:key="revanced_hide_emoji_picker" android:defaultValue="false" android:summaryOn="@string/revanced_hide_emoji_picker_summary_on" android:summaryOff="@string/revanced_hide_emoji_picker_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_preview_comment_title" android:key="revanced_hide_preview_comment" android:defaultValue="false" android:summaryOn="@string/revanced_hide_preview_comment_on" android:summaryOff="@string/revanced_hide_preview_comment_off" /> <SwitchPreference android:title="@string/revanced_hide_preview_comment_title" android:key="revanced_hide_preview_comment" android:defaultValue="false" android:summaryOn="@string/revanced_hide_preview_comment_on" android:summaryOff="@string/revanced_hide_preview_comment_off" />
<SwitchPreference android:title="@string/revanced_hide_preview_comment_type_title" android:key="revanced_hide_preview_comment_type" android:defaultValue="false" android:summaryOn="@string/revanced_hide_preview_comment_type_on" android:summaryOff="@string/revanced_hide_preview_comment_type_off" android:dependency="revanced_hide_preview_comment" />
<SwitchPreference android:title="@string/revanced_hide_button_thanks_title" android:key="revanced_hide_comments_thanks_button" android:defaultValue="false" android:summaryOn="@string/revanced_hide_button_thanks_summary_on" android:summaryOff="@string/revanced_hide_button_thanks_summary_off" />SETTINGS: COMMENT_COMPONENTS --> <SwitchPreference android:title="@string/revanced_hide_button_thanks_title" android:key="revanced_hide_comments_thanks_button" android:defaultValue="false" android:summaryOn="@string/revanced_hide_button_thanks_summary_on" android:summaryOff="@string/revanced_hide_button_thanks_summary_off" />SETTINGS: COMMENT_COMPONENTS -->
<!-- PREFERENCE: BOTTOM_PLAYER_SETTINGS <!-- PREFERENCE: BOTTOM_PLAYER_SETTINGS