aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-21 13:29:06 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-21 13:29:06 +0000
commit3eb608888b0d5563d9c111e25037bef218496300 (patch)
treeb947cc678f2b90f3c1fc9f779507040420768f24 /app/src/main/res/menu
parenteaa24b48580cfc3a95c2ab7b5195961eecc0ac76 (diff)
downloadinfinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.tar
infinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.tar.gz
infinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.tar.bz2
infinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.tar.lz
infinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.tar.xz
infinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.tar.zst
infinity-for-reddit-3eb608888b0d5563d9c111e25037bef218496300.zip
Add to post filter menu option available in ViewSubredditActivity and ViewUserActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/view_subreddit_detail_activity.xml8
-rw-r--r--app/src/main/res/menu/view_user_detail_activity.xml10
2 files changed, 15 insertions, 3 deletions
diff --git a/app/src/main/res/menu/view_subreddit_detail_activity.xml b/app/src/main/res/menu/view_subreddit_detail_activity.xml
index 3521819a..c1631814 100644
--- a/app/src/main/res/menu/view_subreddit_detail_activity.xml
+++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml
@@ -48,8 +48,14 @@
app:showAsAction="never" />
<item
- android:id="@+id/action_share_view_subreddit_detail_activity"
+ android:id="@+id/action_add_to_post_filter_view_subreddit_detail_activity"
android:orderInCategory="8"
+ android:title="@string/action_add_to_post_filter"
+ app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_share_view_subreddit_detail_activity"
+ android:orderInCategory="9"
android:title="@string/action_share"
app:showAsAction="never" />
</menu>
diff --git a/app/src/main/res/menu/view_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml
index 05e4c3cb..8d89ff08 100644
--- a/app/src/main/res/menu/view_user_detail_activity.xml
+++ b/app/src/main/res/menu/view_user_detail_activity.xml
@@ -51,12 +51,18 @@
app:showAsAction="never" />
<item
- android:id="@+id/action_report_view_user_detail_activity"
+ android:id="@+id/action_add_to_post_filter_view_user_detail_activity"
android:orderInCategory="9"
+ android:title="@string/action_add_to_post_filter"
+ app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_report_view_user_detail_activity"
+ android:orderInCategory="10"
android:title="@string/action_report" />
<item
android:id="@+id/action_block_user_view_user_detail_activity"
- android:orderInCategory="10"
+ android:orderInCategory="11"
android:title="@string/action_block_user" />
</menu>