mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
Merge branch 'master' of https://github.com/bitwarden/browser into add-login-with-locked-vault
This commit is contained in:
@@ -147,7 +147,8 @@ export default class MainBackground {
|
||||
constructor() {
|
||||
// Services
|
||||
this.messagingService = new BrowserMessagingService();
|
||||
this.platformUtilsService = new BrowserPlatformUtilsService(this.messagingService,
|
||||
this.storageService = new BrowserStorageService();
|
||||
this.platformUtilsService = new BrowserPlatformUtilsService(this.messagingService, this.storageService,
|
||||
(clipboardValue, clearMs) => {
|
||||
if (this.systemService != null) {
|
||||
this.systemService.clearClipboard(clipboardValue, clearMs);
|
||||
@@ -166,7 +167,6 @@ export default class MainBackground {
|
||||
return promise.then(result => result.response === 'unlocked');
|
||||
}
|
||||
});
|
||||
this.storageService = new BrowserStorageService();
|
||||
this.secureStorageService = new BrowserStorageService();
|
||||
this.i18nService = new I18nService(BrowserApi.getUILanguage(window));
|
||||
this.cryptoFunctionService = new WebCryptoFunctionService(window, this.platformUtilsService);
|
||||
|
||||
Reference in New Issue
Block a user