Skip to content

Commit

Permalink
Add version number to bug report emails
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Aug 24, 2023
1 parent 0ee30f2 commit 93b8d68
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,12 @@ object BugReport {
title = activity.getString(R.string.bug_report_email_title),
)
if(!result) return@withContext
val subject = activity.getString(R.string.report_bug_email_subject_3, source, CommonUtils.applicationNameMedium, getSubject(exception))
val subject = activity.getString(
R.string.report_bug_email_subject_3,
"${CommonUtils.applicationVersionNumber} $source",
CommonUtils.applicationNameMedium, getSubject(exception
)
)
val message = getBugReportMessage(activity, exception)

val uris = ArrayList(listOf(logcatFile, screenshotFile).filter { it.canRead() }.map {
Expand Down

0 comments on commit 93b8d68

Please sign in to comment.