aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAndrea Colombo <acolombo25@users.noreply.github.com>2023-09-14 14:42:42 +0000
committerGitHub <noreply@github.com>2023-09-14 14:42:42 +0000
commit77d177e7f92f25849cc000d0a20b00534aa3c82f (patch)
treed0c1e8501ef51c9528bc28c7fa17041bde3b94b3 /app/src/main/res/menu
parent6576205f90b21350571b8601125890b1aa5e6664 (diff)
downloadinfinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.tar
infinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.tar.gz
infinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.tar.bz2
infinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.tar.lz
infinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.tar.xz
infinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.tar.zst
infinity-for-reddit-77d177e7f92f25849cc000d0a20b00534aa3c82f.zip
Add option to Add subreddit to Home Screen as shortcut (#1485)
* Add shortcut to Add Subreddit to Home Screen * Add null check for subredditIcon
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/view_subreddit_detail_activity.xml16
1 files changed, 11 insertions, 5 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 e23d5191..877c6719 100644
--- a/app/src/main/res/menu/view_subreddit_detail_activity.xml
+++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml
@@ -36,32 +36,38 @@
app:showAsAction="never" />
<item
- android:id="@+id/action_add_to_multireddit_view_subreddit_detail_activity"
+ android:id="@+id/action_add_to_home_screen_view_subreddit_detail_activity"
android:orderInCategory="6"
+ android:title="@string/action_add_to_home_screen"
+ app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_add_to_multireddit_view_subreddit_detail_activity"
+ android:orderInCategory="7"
android:title="@string/action_add_to_multireddit"
app:showAsAction="never" />
<item
android:id="@+id/action_add_to_post_filter_view_subreddit_detail_activity"
- android:orderInCategory="7"
+ 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="8"
+ android:orderInCategory="9"
android:title="@string/action_share"
app:showAsAction="never" />
<item
android:id="@+id/action_go_to_wiki_view_subreddit_detail_activity"
- android:orderInCategory="9"
+ android:orderInCategory="10"
android:title="@string/action_go_to_wiki"
app:showAsAction="never" />
<item
android:id="@+id/action_contact_mods_view_subreddit_detail_activity"
- android:orderInCategory="10"
+ android:orderInCategory="11"
android:title="@string/action_contact_mods"
app:showAsAction="never" />
</menu>