Parcourir la source

Merge pull request #1176 from nightscout/fix/telemetry-variable

Fix Telemetry appName reference
Deniz Cengiz il y a 1 jour
Parent
commit
ea5fd27d76
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Trio/Sources/Services/Telemetry/TelemetryClient.swift

+ 1 - 1
Trio/Sources/Services/Telemetry/TelemetryClient.swift

@@ -162,7 +162,7 @@ final class TelemetryClient: Injectable {
         var payload: [String: Any] = [:]
         var payload: [String: Any] = [:]
 
 
         if let v = info["CFBundleShortVersionString"] as? String { payload["appVersion"] = v }
         if let v = info["CFBundleShortVersionString"] as? String { payload["appVersion"] = v }
-        payload["appName"] = telemetryAppName
+        payload["appName"] = TelemetryClient.telemetryAppName
         // appDevVersion is Trio's 4-component dev counter (e.g. "0.7.0.14") —
         // appDevVersion is Trio's 4-component dev counter (e.g. "0.7.0.14") —
         // the most precise build identifier we have. Always emit, even when
         // the most precise build identifier we have. Always emit, even when
         // the Info.plist key is missing, so dashboards can rely on the field.
         // the Info.plist key is missing, so dashboards can rely on the field.