Check for duplicate when saving a post filter. Fix an issue in PostFilter Parcelable implementation.

This commit is contained in:
Alex Ning
2021-01-06 23:55:42 +08:00
parent 07390678e0
commit 6ad34783c5
6 changed files with 116 additions and 73 deletions

View File

@@ -986,6 +986,8 @@
<string name="max_awards_hint">Max awards (-1: no restriction)</string>
<string name="post_filter_name_hint">Post Filter Name</string>
<string name="post_filter_requires_a_name">What is the name of this post filter?</string>
<string name="duplicate_post_filter_dialog_title">\'%1$s\' Already Exists</string>
<string name="duplicate_post_filter_dialog_message">Override it?</string>
<string name="apply_post_filter_to">Apply to</string>
<string name="post_filter_usage_home">Home</string>
<string name="post_filter_usage_subreddit">Subreddit: %1$s</string>