aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-04-02 09:35:07 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-04-02 09:35:07 +0000
commitb54e9aabb1b869b98c351705c06a1f91d5f0563a (patch)
tree60c88bf56742ea49524311c2c1511b7932e00fc6 /app/src/main/res
parent2d0aa76d3458800a7eeda357f85f38f11bcc0542 (diff)
downloadinfinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.tar
infinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.tar.gz
infinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.tar.bz2
infinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.tar.lz
infinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.tar.xz
infinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.tar.zst
infinity-for-reddit-b54e9aabb1b869b98c351705c06a1f91d5f0563a.zip
New option: delete crash reports in CrashReportsFragment.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/menu/crash_reports_fragment.xml10
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/menu/crash_reports_fragment.xml b/app/src/main/res/menu/crash_reports_fragment.xml
new file mode 100644
index 00000000..67bc62b5
--- /dev/null
+++ b/app/src/main/res/menu/crash_reports_fragment.xml
@@ -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> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 496b787f..3fe9b283 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -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>