1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +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(); return this.isChrome() || this.isOpera();
} }
supportsDuo(): boolean {
return true;
}
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) { showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) {
const dialogId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER); const dialogId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
this.messagingService.send('showDialog', { this.messagingService.send('showDialog', {