aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorandrewrasch <raschykid@gmail.com>2021-09-22 04:04:21 +0000
committerandrewrasch <raschykid@gmail.com>2021-09-22 04:04:21 +0000
commit0ca6bc25af02b52ce7b89b1c895a3d00e307d821 (patch)
treea87e627b46ddaff916d01fb4ef789605e85b531c /app/src/main/res/menu
parent2d5829830e062d5cef8ca3ffa55e7dab607b84a7 (diff)
downloadinfinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.tar
infinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.tar.gz
infinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.tar.bz2
infinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.tar.lz
infinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.tar.xz
infinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.tar.zst
infinity-for-reddit-0ca6bc25af02b52ce7b89b1c895a3d00e307d821.zip
Added link to wiki in subreddit
Subreddit details menu now has a link to its wiki. Subs without a wiki will show the "this subreddit has no wiki" page.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/view_subreddit_detail_activity.xml6
1 files changed, 6 insertions, 0 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 c1631814..cb92de44 100644
--- a/app/src/main/res/menu/view_subreddit_detail_activity.xml
+++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml
@@ -58,4 +58,10 @@
android:orderInCategory="9"
android:title="@string/action_share"
app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_go_to_wiki_activity"
+ android:orderInCategory="10"
+ android:title="@string/action_go_to_wiki"
+ app:showAsAction="never" />
</menu>