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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user