From 4e2b09b0794664b518fa1de82dc17fae82844ad5 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 16 Oct 2021 15:28:35 +0800 Subject: New options in post filter: Title: contains keywords, Title: contains regex, Contain domains. --- .../res/layout/activity_customize_post_filter.xml | 64 +++++++++++++++++++++- app/src/main/res/values/arrays.xml | 1 + app/src/main/res/values/strings.xml | 4 ++ 3 files changed, 67 insertions(+), 2 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_customize_post_filter.xml b/app/src/main/res/layout/activity_customize_post_filter.xml index 572d6f94..0d2dfd49 100644 --- a/app/src/main/res/layout/activity_customize_post_filter.xml +++ b/app/src/main/res/layout/activity_customize_post_filter.xml @@ -323,6 +323,26 @@ + + + + + + + + + + + + @@ -457,7 +497,7 @@ + + + + + + @string/exclude_flair @string/contain_flair @string/exclude_domain + @string/contain_domain diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f5654e8e..18f024c0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1077,12 +1077,15 @@ Only NSFW Only Spoiler Title: excludes keywords (key1,key2) + Title: contains keywords (key1,key2) Title: excludes regex + Title: contains regex Exclude subreddits (e.g. funny,AskReddit) Exclude users (e.g. Hostilenemy,random) Exclude flairs (e.g. flair1,flair2) Contain flairs (e.g. flair1,flair2) Exclude domains + Contain domains Min vote (-1: no restriction) Max vote (-1: no restriction) Min comments (-1: no restriction) @@ -1158,6 +1161,7 @@ Exclude this flair Contain this flair Exclude this domain + Contain this domain Suggest Title Failed to suggest a title -- cgit v1.2.3