mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 07:36:48 +00:00
Removed unused Telemetry userId
This commit is contained in:
parent
f0c91784d0
commit
974d3f1804
1 changed files with 1 additions and 5 deletions
|
@ -3,10 +3,6 @@ import SwiftUI
|
|||
|
||||
@MainActor
|
||||
public class Telemetry {
|
||||
static var userId: String? {
|
||||
CurrentAccount.shared.account?.id
|
||||
}
|
||||
|
||||
public static func setup() {
|
||||
let config = TelemetryDeck.Config(appID: "F04175D2-599A-4504-867E-CE870B991EB7")
|
||||
TelemetryDeck.initialize(config: config)
|
||||
|
@ -14,6 +10,6 @@ public class Telemetry {
|
|||
|
||||
|
||||
public static func signal(_ event: String, parameters: [String: String] = [:]) {
|
||||
TelemetryDeck.signal(event, parameters: parameters, customUserID: userId)
|
||||
TelemetryDeck.signal(event, parameters: parameters)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue