diff --git a/Core/PixelEvent.swift b/Core/PixelEvent.swift index 5478cdfe88..fa79e2432a 100644 --- a/Core/PixelEvent.swift +++ b/Core/PixelEvent.swift @@ -687,12 +687,6 @@ extension Pixel { case settingsAccessibilityOpen case settingsAccessiblityTextSize - // Other settings - case settingsKeyboardOnNewTabOn - case settingsKeyboardOnNewTabOff - case settingsKeyboardOnAppLaunchOn - case settingsKeyboardOnAppLaunchOff - // Web pixels case privacyProOfferMonthlyPriceClick case privacyProOfferYearlyPriceClick @@ -794,11 +788,6 @@ extension Pixel.Event { case .settingsAutoconsentOn: return "m_settings_autoconsent_on" case .settingsAutoconsentOff: return "m_settings_autoconsent_off" - case .settingsKeyboardOnNewTabOn: return "m_settings_keyboard_on-new-tab_on" - case .settingsKeyboardOnNewTabOff: return "m_settings_keyboard_on-new-tab_off" - case .settingsKeyboardOnAppLaunchOn: return "m_settings_keyboard_on-app-launch_on" - case .settingsKeyboardOnAppLaunchOff: return "m_settings_keyboard_on-app-launch_off" - case .browsingMenuOpened: return "mb" case .browsingMenuNewTab: return "mb_tb" case .browsingMenuAddToBookmarks: return "mb_abk" diff --git a/DuckDuckGo/KeyboardSettingsViewController.swift b/DuckDuckGo/KeyboardSettingsViewController.swift index a54f395e11..8cca55d4af 100644 --- a/DuckDuckGo/KeyboardSettingsViewController.swift +++ b/DuckDuckGo/KeyboardSettingsViewController.swift @@ -45,20 +45,10 @@ class KeyboardSettingsViewController: UITableViewController { @IBAction func onNewTabValueChanged(_ sender: Any) { settings.onNewTab = newTabToggle.isOn - if settings.onNewTab { - Pixel.fire(pixel: .settingsKeyboardOnNewTabOn) - } else { - Pixel.fire(pixel: .settingsKeyboardOnNewTabOff) - } } @IBAction func onAppLaunchValueChanged(_ sender: Any) { settings.onAppLaunch = appLaunchToggle.isOn - if settings.onAppLaunch { - Pixel.fire(pixel: .settingsKeyboardOnAppLaunchOn) - } else { - Pixel.fire(pixel: .settingsKeyboardOnAppLaunchOff) - } } }