feat(YouTube - Keyword filter): Add syntax to match whole keywords and not substrings (#3592)

This commit is contained in:
LisoUseInAIKyrios
2024-08-30 17:38:59 -04:00
committed by GitHub
parent 74f3f82927
commit ed532eb528
2 changed files with 14 additions and 8 deletions
@@ -138,8 +138,10 @@ object HideLayoutComponentsPatch : BytecodePatch(
SwitchPreference("revanced_hide_keyword_content_search"),
TextPreference("revanced_hide_keyword_content_phrases", inputType = InputType.TEXT_MULTI_LINE),
NonInteractivePreference("revanced_hide_keyword_content_about"),
),
),
NonInteractivePreference(key = "revanced_hide_keyword_content_about_whole_words",
tag = "app.revanced.integrations.youtube.settings.preference.HtmlPreference")
)
)
)
SettingsPatch.PreferenceScreen.GENERAL_LAYOUT.addPreferences(