mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-18 22:49:10 +00:00
Use provider description in issue report
This commit is contained in:
parent
3165461b8d
commit
5c918c3a86
@ -76,9 +76,9 @@ class IssueReporter: NSObject {
|
||||
let bodyContent = AppConstants.IssueReporter.Email.template
|
||||
var bodyMetadata = "--\n\n"
|
||||
bodyMetadata += DebugLog(raw: "").decoratedString()
|
||||
if let infrastructure = issue.infrastructure {
|
||||
bodyMetadata += "Provider: \(infrastructure.name)\n"
|
||||
if let lastUpdated = InfrastructureFactory.shared.modificationDate(forName: infrastructure.name) {
|
||||
if let metadata = issue.infrastructure.metadata {
|
||||
bodyMetadata += "Provider: \(metadata.description)\n"
|
||||
if let lastUpdated = InfrastructureFactory.shared.modificationDate(forName: metadata.name) {
|
||||
bodyMetadata += "Last updated: \(lastUpdated)\n"
|
||||
}
|
||||
bodyMetadata += "\n"
|
||||
|
Loading…
Reference in New Issue
Block a user