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:
2
jslib
2
jslib
Submodule jslib updated: e6fde2e92b...cf5bce1ea9
@@ -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', {
|
||||||
|
|||||||
Reference in New Issue
Block a user