New option: delete crash reports in CrashReportsFragment.

This commit is contained in:
Alex Ning
2021-04-02 17:35:07 +08:00
parent 2d0aa76d34
commit b54e9aabb1
6 changed files with 68 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_delete_logs_crash_reports_fragment"
android:orderInCategory="1"
android:title="@string/action_delete_logs"
android:icon="@drawable/ic_delete_24dp"
app:showAsAction="ifRoom" />
</menu>

View File

@@ -82,6 +82,7 @@
<string name="action_share_link">Share Link</string>
<string name="action_copy_link">Copy Link</string>
<string name="action_add_to_post_filter">Add to Post Filter</string>
<string name="action_delete_logs">Delete Logs</string>
<string name="parse_json_response_error">Error occurred when parsing the JSON response</string>
<string name="retrieve_token_error">Error Retrieving the token</string>
@@ -1094,4 +1095,6 @@
<string name="suggest_title">Suggest Title</string>
<string name="suggest_title_failed">Failed to suggest a title</string>
<string name="crash_reports_deleted">Crash reports are deleted</string>
</resources>