aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-30 03:35:44 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-30 03:35:44 +0000
commita5a77fca04debc52d7ac02181f0d6e0e9b8db052 (patch)
treef5992d08c22cf8587541bebc3bb2072c032124d4 /app/src/main/res
parent92762974fff5b9b18a7696b7562daf5f55e46472 (diff)
downloadinfinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.tar
infinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.tar.gz
infinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.tar.bz2
infinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.tar.lz
infinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.tar.xz
infinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.tar.zst
infinity-for-reddit-a5a77fca04debc52d7ac02181f0d6e0e9b8db052.zip
View crosspost parent in ViewPostDetailActivity when clicking the crosspost icon or select Crosspost parent menu item in toolbar. Filter NSFW posts in FilteredThingActivity is now available.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/view_post_detail_activity.xml19
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 16 insertions, 6 deletions
diff --git a/app/src/main/res/menu/view_post_detail_activity.xml b/app/src/main/res/menu/view_post_detail_activity.xml
index 756f51b7..83888218 100644
--- a/app/src/main/res/menu/view_post_detail_activity.xml
+++ b/app/src/main/res/menu/view_post_detail_activity.xml
@@ -11,7 +11,7 @@
<item
android:id="@+id/action_save_view_post_detail_activity"
android:orderInCategory="2"
- android:title="@string/action_add_comment"
+ android:title="@string/action_save_post"
app:showAsAction="ifRoom"
android:visible="false" />
@@ -22,34 +22,41 @@
app:showAsAction="never" />
<item
- android:id="@+id/action_edit_view_post_detail_activity"
+ android:id="@+id/action_view_crosspost_parent_view_post_detail_activity"
android:orderInCategory="4"
+ android:title="@string/action_view_crosspost_parent"
+ app:showAsAction="never"
+ android:visible="false" />
+
+ <item
+ android:id="@+id/action_edit_view_post_detail_activity"
+ android:orderInCategory="5"
android:title="@string/action_edit_post"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_delete_view_post_detail_activity"
- android:orderInCategory="5"
+ android:orderInCategory="6"
android:title="@string/action_delete_post"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_nsfw_view_post_detail_activity"
- android:orderInCategory="6"
+ android:orderInCategory="7"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_spoiler_view_post_detail_activity"
- android:orderInCategory="7"
+ android:orderInCategory="8"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_edit_flair_view_post_detail_activity"
- android:orderInCategory="8"
+ android:orderInCategory="9"
android:title="@string/action_edit_flair"
app:showAsAction="never"
android:visible="false" />
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 1cde4e7a..0eb7335c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -23,6 +23,8 @@
<string name="action_download">Download</string>
<string name="action_refresh">Refresh</string>
<string name="action_add_comment">Add a comment</string>
+ <string name="action_save_post">Save post</string>
+ <string name="action_view_crosspost_parent">Crosspost parent</string>
<string name="action_search">Search</string>
<string name="action_start_lazy_mode">Start Lazy Mode</string>
<string name="action_stop_lazy_mode">Stop Lazy Mode</string>
@@ -44,6 +46,7 @@
<string name="tap_to_retry">Error loading image. Tap to retry.</string>
<string name="load_posts_error">Error loading posts.\nTap to retry.</string>
+ <string name="load_post_error">Error loading this post.\nTap to retry.</string>
<string name="search_subreddits_error">Error searching subreddits.\nTap to retry.</string>
<string name="search_users_error">Error searching users.\nTap to retry.</string>
<string name="no_posts">No posts found</string>