mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-10 01:28:36 +02:00
supports duo platform util
This commit is contained in:
parent
9c10943806
commit
ff67b9be82
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit e6fde2e92be4be472933234daa7bae242ee17794
|
Subproject commit cf5bce1ea91ebbc1c99a550b62114a88bfeb2036
|
@ -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', {
|
||||||
|
Loading…
Reference in New Issue
Block a user