1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

dont call clearclipboard in a loop

This commit is contained in:
Kyle Spearrin
2019-05-30 09:37:09 -04:00
parent 92fb43fc2e
commit a60c60529f
3 changed files with 6 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ export class OptionsComponent implements OnInit {
this.dontShowCards = await this.storageService.get<boolean>(ConstantsService.dontShowCardsCurrentTab);
this.dontShowIdentities = await this.storageService.get<boolean>(ConstantsService.dontShowIdentitiesCurrentTab);
this.disableAutoTotpCopy = !await this.totpService.isAutoCopyEnabled();
this.disableAutoTotpCopy = !(await this.totpService.isAutoCopyEnabled());
this.disableFavicon = await this.storageService.get<boolean>(ConstantsService.disableFaviconKey);