Browse Source

Added debug info instructions

main
M66B 6 years ago
parent
commit
935c10ca08
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/ActivityView.java
  2. +2
    -0
      app/src/main/res/values/strings.xml

+ 1
- 0
app/src/main/java/eu/faircode/email/ActivityView.java View File

@ -309,6 +309,7 @@ public class ActivityView extends ActivityBase implements FragmentManager.OnBack
EntityFolder drafts = db.folder().getPrimaryDraftFolder(); EntityFolder drafts = db.folder().getPrimaryDraftFolder();
if (drafts != null) { if (drafts != null) {
StringBuilder info = Helper.getDebugInfo(); StringBuilder info = Helper.getDebugInfo();
info.insert(0, getString(R.string.title_debug_info) + "\n\n\n\n");
Address to = new InternetAddress("marcel+email@faircode.eu", "FairCode"); Address to = new InternetAddress("marcel+email@faircode.eu", "FairCode");


+ 2
- 0
app/src/main/res/values/strings.xml View File

@ -119,4 +119,6 @@
<string name="title_queued">Message queued</string> <string name="title_queued">Message queued</string>
<string name="title_item_edit_hint">Long press item to edit properties</string> <string name="title_item_edit_hint">Long press item to edit properties</string>
<string name="title_debug_info">Please describe the problem and indicate the time of the problem:</string>
</resources> </resources>

Loading…
Cancel
Save