1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 01:22:26 +01:00

supports duo platform util

This commit is contained in:
Kyle Spearrin 2018-05-16 15:30:36 -04:00
parent 9c10943806
commit ff67b9be82
2 changed files with 5 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit e6fde2e92be4be472933234daa7bae242ee17794
Subproject commit cf5bce1ea91ebbc1c99a550b62114a88bfeb2036

View File

@ -165,6 +165,10 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
return this.isChrome() || this.isOpera();
}
supportsDuo(): boolean {
return true;
}
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) {
const dialogId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
this.messagingService.send('showDialog', {