aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHermes Junior <ohermesjunior@gmail.com>2020-06-12 14:30:56 +0000
committerOHermesJunior <ohermesjunior@gmail.com>2020-06-16 17:29:14 +0000
commit1b972aca2eb20cd7895ba20f015ba480a7f2ade6 (patch)
tree201e1c515fcc5c939558e5dd9e95844fede62522 /app/src/main/res
parent99418267c44a6d3f3af54c7b24993347a863d5e4 (diff)
downloadinfinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.tar
infinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.tar.gz
infinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.tar.bz2
infinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.tar.lz
infinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.tar.xz
infinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.tar.zst
infinity-for-reddit-1b972aca2eb20cd7895ba20f015ba480a7f2ade6.zip
Implement option to see removed post.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/view_post_detail_activity.xml9
-rw-r--r--app/src/main/res/values/strings.xml4
2 files changed, 11 insertions, 2 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 32f83c41..29c49e1f 100644
--- a/app/src/main/res/menu/view_post_detail_activity.xml
+++ b/app/src/main/res/menu/view_post_detail_activity.xml
@@ -80,5 +80,12 @@
android:orderInCategory="12"
android:title="@string/action_report"
app:showAsAction="never"
+ android:visible="false"/>
+
+ <item
+ android:id="@+id/action_see_removed_view_post_detail_activity"
+ android:orderInCategory="13"
+ android:title="@string/action_see_removed"
+ app:showAsAction="never"
android:visible="false" />
-</menu> \ No newline at end of file
+</menu>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index fa9f039b..cddcf9bf 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -61,6 +61,7 @@
<string name="action_share">Share</string>
<string name="action_preview">Preview</string>
<string name="action_report">Report</string>
+ <string name="action_see_removed">See Removed</string>
<string name="action_set_wallpaper">Set as Wallpaper</string>
<string name="parse_json_response_error">Error occurred when parsing the JSON response</string>
@@ -277,9 +278,10 @@
<string name="edit">Edit</string>
<string name="delete">Delete</string>
<string name="see_removed_comment">See Removed Comment</string>
- <string name="see_removed_post">See Removed Post</string>
<string name="fetching_removed_comment">Fetching removed comment</string>
<string name="show_removed_comment_failed">Could not find the removed comment</string>
+ <string name="fetching_removed_post">Fetching removed post</string>
+ <string name="show_removed_post_failed">Could not find the removed post</string>
<string name="cancel">Cancel</string>
<string name="ok">OK</string>
<string name="edit_success">Edit successful</string>