Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegate SecureVault KeyStore Events in All Scenarios #2827

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions DuckDuckGo/EmailSignupViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ extension EmailSignupViewController: SecureVaultManagerDelegate {
SecureVaultReporter.shared.secureVaultError(error)
}

func secureVaultKeyStoreEvent(_ event: SecureStorageKeyStoreEvent) {
SecureVaultReporter.shared.secureVaultKeyStoreEvent(event)
}

func secureVaultManagerIsEnabledStatus(_ manager: SecureVaultManager, forType type: AutofillType?) -> Bool {
let isEnabled = AutofillSettingStatus.isAutofillEnabledInSettings && featureFlagger.isFeatureOn(.autofillCredentialInjecting)
return isEnabled
Expand Down
4 changes: 4 additions & 0 deletions DuckDuckGo/TabViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2409,6 +2409,10 @@ extension TabViewController: SecureVaultManagerDelegate {
SecureVaultReporter.shared.secureVaultError(error)
}

func secureVaultKeyStoreEvent(_ event: SecureStorageKeyStoreEvent) {
SecureVaultReporter.shared.secureVaultKeyStoreEvent(event)
}

func secureVaultManagerIsEnabledStatus(_ manager: SecureVaultManager, forType type: AutofillType?) -> Bool {
let isEnabled = AutofillSettingStatus.isAutofillEnabledInSettings &&
featureFlagger.isFeatureOn(.autofillCredentialInjecting) &&
Expand Down
Loading