feat(YouTube - Comments): Add option to hide timestamp and emoji buttons (#3076)

This commit is contained in:
LisoUseInAIKyrios 2024-04-23 21:03:15 +04:00 committed by GitHub
parent 1863625daf
commit 7efe5aefb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,8 @@ object CommentsPatch : ResourcePatch() {
"revanced_comments_screen", "revanced_comments_screen",
preferences = setOf( preferences = setOf(
SwitchPreference("revanced_hide_preview_comment"), SwitchPreference("revanced_hide_preview_comment"),
SwitchPreference("revanced_hide_comments_section") SwitchPreference("revanced_hide_comments_section"),
SwitchPreference("revanced_hide_comment_timestamp_and_emoji_buttons")
), ),
sorting = PreferenceScreen.Sorting.UNSORTED sorting = PreferenceScreen.Sorting.UNSORTED
) )

View File

@ -503,6 +503,9 @@
<string name="revanced_hide_comments_section_title">Hide comments section</string> <string name="revanced_hide_comments_section_title">Hide comments section</string>
<string name="revanced_hide_comments_section_summary_on">Comment section is hidden</string> <string name="revanced_hide_comments_section_summary_on">Comment section is hidden</string>
<string name="revanced_hide_comments_section_summary_off">Comment section is shown</string> <string name="revanced_hide_comments_section_summary_off">Comment section is shown</string>
<string name="revanced_hide_comment_timestamp_and_emoji_buttons_title">Hide timestamp and emoji buttons</string>
<string name="revanced_hide_comment_timestamp_and_emoji_buttons_summary_on">Comment timestamp and emoji buttons are hidden</string>
<string name="revanced_hide_comment_timestamp_and_emoji_buttons_summary_off">Comment timestamp and emoji buttons are shown</string>
</patch> </patch>
<patch id="layout.hide.crowdfundingbox.CrowdfundingBoxResourcePatch"> <patch id="layout.hide.crowdfundingbox.CrowdfundingBoxResourcePatch">
<string name="revanced_hide_crowdfunding_box_title">Hide crowdfunding box</string> <string name="revanced_hide_crowdfunding_box_title">Hide crowdfunding box</string>