Removed unused Telemetry userId

This commit is contained in:
Thomas Ricouard 2024-09-26 15:38:22 +02:00
parent f0c91784d0
commit 974d3f1804

View file

@ -3,10 +3,6 @@ import SwiftUI
@MainActor @MainActor
public class Telemetry { public class Telemetry {
static var userId: String? {
CurrentAccount.shared.account?.id
}
public static func setup() { public static func setup() {
let config = TelemetryDeck.Config(appID: "F04175D2-599A-4504-867E-CE870B991EB7") let config = TelemetryDeck.Config(appID: "F04175D2-599A-4504-867E-CE870B991EB7")
TelemetryDeck.initialize(config: config) TelemetryDeck.initialize(config: config)
@ -14,6 +10,6 @@ public class Telemetry {
public static func signal(_ event: String, parameters: [String: String] = [:]) { public static func signal(_ event: String, parameters: [String: String] = [:]) {
TelemetryDeck.signal(event, parameters: parameters, customUserID: userId) TelemetryDeck.signal(event, parameters: parameters)
} }
} }