Merge pull request #1322 from Hinton/feature/biometric-jslib
Support biometric changes in jslib
This commit is contained in:
commit
728d181fff
|
@ -67,7 +67,7 @@ export const authService = new AuthService(getBgService<CryptoService>('cryptoSe
|
||||||
getBgService<ApiService>('apiService')(), getBgService<UserService>('userService')(),
|
getBgService<ApiService>('apiService')(), getBgService<UserService>('userService')(),
|
||||||
getBgService<TokenService>('tokenService')(), getBgService<AppIdService>('appIdService')(),
|
getBgService<TokenService>('tokenService')(), getBgService<AppIdService>('appIdService')(),
|
||||||
getBgService<I18nService>('i18nService')(), getBgService<PlatformUtilsService>('platformUtilsService')(),
|
getBgService<I18nService>('i18nService')(), getBgService<PlatformUtilsService>('platformUtilsService')(),
|
||||||
messagingService);
|
messagingService, getBgService<VaultTimeoutService>('vaultTimeoutService')());
|
||||||
export const searchService = new PopupSearchService(getBgService<SearchService>('searchService')(),
|
export const searchService = new PopupSearchService(getBgService<SearchService>('searchService')(),
|
||||||
getBgService<CipherService>('cipherService')(), getBgService<PlatformUtilsService>('platformUtilsService')());
|
getBgService<CipherService>('cipherService')(), getBgService<PlatformUtilsService>('platformUtilsService')());
|
||||||
|
|
||||||
|
|
|
@ -287,6 +287,14 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
supportsBiometric() {
|
||||||
|
return Promise.resolve(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
authenticateBiometric() {
|
||||||
|
return Promise.resolve(false);
|
||||||
|
}
|
||||||
|
|
||||||
private sidebarViewName(): string {
|
private sidebarViewName(): string {
|
||||||
if ((window as any).chrome.sidebarAction && this.isFirefox()) {
|
if ((window as any).chrome.sidebarAction && this.isFirefox()) {
|
||||||
return 'sidebar';
|
return 'sidebar';
|
||||||
|
|
Loading…
Reference in New Issue