aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorPatrick Demers <patrickdemers6@gmail.com>2022-11-02 12:16:23 +0000
committerGitHub <noreply@github.com>2022-11-02 12:16:23 +0000
commitf85959cd89ea98d583a7be01c73a6313bd292113 (patch)
tree23b44110de535224ca1ace038de3ea2e7544e2f0 /app/src/main/res
parent9703a46f5fcdf6973ee19c43ca20d053aef80176 (diff)
downloadinfinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.tar
infinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.tar.gz
infinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.tar.bz2
infinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.tar.lz
infinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.tar.xz
infinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.tar.zst
infinity-for-reddit-f85959cd89ea98d583a7be01c73a6313bd292113.zip
add button to export logs to GitHub issue (#1180)
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/crash_reports_fragment.xml6
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 7 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
index 67bc62b5..ad1c92ec 100644
--- a/app/src/main/res/menu/crash_reports_fragment.xml
+++ b/app/src/main/res/menu/crash_reports_fragment.xml
@@ -7,4 +7,10 @@
android:title="@string/action_delete_logs"
android:icon="@drawable/ic_delete_24dp"
app:showAsAction="ifRoom" />
+ <item
+ android:id="@+id/action_export_logs_crash_reports_fragment"
+ android:orderInCategory="2"
+ android:title="@string/action_create_github_issue"
+ android:icon="@drawable/ic_open_link_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 46ba6923..8ec9ee31 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -90,6 +90,7 @@
<string name="action_open_external_browser">Open in browser</string>
<string name="action_add_to_post_filter">Add to Post Filter</string>
<string name="action_delete_logs">Delete Logs</string>
+ <string name="action_create_github_issue">Create GitHub Issue</string>
<string name="action_share_rpan_link">Share RPAN Link</string>
<string name="action_share_post_link">Share Post Link</string>
<string name="action_go_to_wiki">Go to Wiki</string>