diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/view_post_detail_activity.xml | 16 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 |
2 files changed, 17 insertions, 5 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 83888218..d971b154 100644 --- a/app/src/main/res/menu/view_post_detail_activity.xml +++ b/app/src/main/res/menu/view_post_detail_activity.xml @@ -29,34 +29,40 @@ android:visible="false" /> <item - android:id="@+id/action_edit_view_post_detail_activity" + android:id="@+id/action_hide_view_post_detail_activity" android:orderInCategory="5" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_edit_view_post_detail_activity" + android:orderInCategory="6" android:title="@string/action_edit_post" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_delete_view_post_detail_activity" - android:orderInCategory="6" + android:orderInCategory="7" android:title="@string/action_delete_post" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_nsfw_view_post_detail_activity" - android:orderInCategory="7" + android:orderInCategory="8" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_spoiler_view_post_detail_activity" - android:orderInCategory="8" + android:orderInCategory="9" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_edit_flair_view_post_detail_activity" - android:orderInCategory="9" + android:orderInCategory="10" 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 b4d561b3..900c8750 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -30,6 +30,8 @@ <string name="action_stop_lazy_mode">Stop Lazy Mode</string> <string name="action_send">Send</string> <string name="action_sort">Sort</string> + <string name="action_hide_post">Hide Post</string> + <string name="action_unhide_post">Unhide Post</string> <string name="action_edit_post">Edit Post</string> <string name="action_delete_post">Delete Post</string> <string name="action_mark_nsfw">Mark NSFW</string> @@ -216,6 +218,10 @@ <string name="post_saved_failed">Unable to save post</string> <string name="post_unsaved_success">Post unsaved</string> <string name="post_unsaved_failed">Unable to unsave post</string> + <string name="post_hide_success">Post hidden</string> + <string name="post_hide_failed">Unable to hide post</string> + <string name="post_unhide_success">Post unhidden</string> + <string name="post_unhide_failed">Unable to unhide post</string> <string name="delete_this_post">Delete This Post</string> <string name="delete_this_comment">Delete This Comment</string> <string name="are_you_sure">Are you sure?</string> |