Skip to content

Commit

Permalink
Update firefox-ios/Client/Telemetry/TelemetryWrapper.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Jan-Erik Rediger <[email protected]>
  • Loading branch information
thatswinnie and badboy authored Nov 26, 2024
1 parent 68913ec commit 5ab7ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firefox-ios/Client/Telemetry/TelemetryWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class TelemetryWrapper: TelemetryWrapperProtocol, FeatureFlaggable {
}

// Set or generate profile id used for usage reporting
if profile.prefs.boolForKey(AppConstants.prefSendUsageData) ?? true {
if sendUsageData {
if let uuidString = profile.prefs.stringForKey(PrefsKeys.Usage.profileId),
let uuid = UUID(uuidString: uuidString) {
GleanMetrics.Usage.profileId.set(uuid)
Expand Down

0 comments on commit 5ab7ffc

Please sign in to comment.