1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00: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

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', {