1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

[PM-7562] Add DuckDuckGo back to State Service (#8791)

* Add ddg back to state service

* Remove getters
This commit is contained in:
Robyn MacCallum
2024-04-19 09:45:09 -04:00
committed by GitHub
parent 2916fc7404
commit c1c6afb0f4
4 changed files with 27 additions and 0 deletions

View File

@@ -660,6 +660,11 @@ export class SettingsComponent implements OnInit {
this.form.value.enableDuckDuckGoBrowserIntegration,
);
// Adding to cover users on a previous version of DDG
await this.stateService.setEnableDuckDuckGoBrowserIntegration(
this.form.value.enableDuckDuckGoBrowserIntegration,
);
if (!this.form.value.enableBrowserIntegration) {
await this.stateService.setDuckDuckGoSharedKey(null);
}