Skip to content

Commit

Permalink
Fix for spurious autofillExtensionDisabled pixels being fired
Browse files Browse the repository at this point in the history
  • Loading branch information
amddg44 committed Jan 9, 2025
1 parent 9be872c commit 48e9a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/AutofillUsageMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class AutofillUsageMonitor {
}
self?.autofillExtensionEnabled = true
} else {
if self?.autofillExtensionEnabled != nil {
if self?.autofillExtensionEnabled == true {
Pixel.fire(pixel: .autofillExtensionDisabled)
self?.autofillExtensionEnabled = false
}
Expand Down

0 comments on commit 48e9a5f

Please sign in to comment.