Hiding and unhiding posts are now available.

This commit is contained in:
Alex Ning
2019-09-08 16:08:39 +08:00
parent 010a230baf
commit 5dbe271b2c
12 changed files with 240 additions and 50 deletions

View File

@@ -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"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_spoiler_view_post_detail_activity"
android:orderInCategory="8"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_edit_flair_view_post_detail_activity"
android:id="@+id/action_spoiler_view_post_detail_activity"
android:orderInCategory="9"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_edit_flair_view_post_detail_activity"
android:orderInCategory="10"
android:title="@string/action_edit_flair"
app:showAsAction="never"
android:visible="false" />

View File

@@ -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>