From 48e9a5fa26a32e06c1584371b0bfc0794e28df69 Mon Sep 17 00:00:00 2001 From: amddg44 Date: Thu, 9 Jan 2025 16:07:48 +0100 Subject: [PATCH] Fix for spurious autofillExtensionDisabled pixels being fired --- DuckDuckGo/AutofillUsageMonitor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDuckGo/AutofillUsageMonitor.swift b/DuckDuckGo/AutofillUsageMonitor.swift index 898f7d8c41..cd4ed2b0f7 100644 --- a/DuckDuckGo/AutofillUsageMonitor.swift +++ b/DuckDuckGo/AutofillUsageMonitor.swift @@ -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 }