mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Refactor for barrels. Utils service to jslib
This commit is contained in:
@@ -4,12 +4,13 @@ import ConstantsService from './constants.service';
|
||||
import CryptoService from './crypto.service';
|
||||
import FolderService from './folder.service';
|
||||
|
||||
import { PlatformUtilsService, StorageService } from '@bitwarden/jslib';
|
||||
import { Abstractions } from '@bitwarden/jslib';
|
||||
|
||||
export default class LockService {
|
||||
constructor(private cipherService: CipherService, private folderService: FolderService,
|
||||
private collectionService: CollectionService, private cryptoService: CryptoService,
|
||||
private platformUtilsService: PlatformUtilsService, private storageService: StorageService,
|
||||
private platformUtilsService: Abstractions.PlatformUtilsService,
|
||||
private storageService: Abstractions.StorageService,
|
||||
private setIcon: Function, private refreshBadgeAndMenu: Function) {
|
||||
this.checkLock();
|
||||
setInterval(() => this.checkLock(), 10 * 1000); // check every 10 seconds
|
||||
|
||||
Reference in New Issue
Block a user