1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

supports duo platform util

This commit is contained in:
Kyle Spearrin
2018-05-16 15:30:28 -04:00
parent e6fde2e92b
commit cf5bce1ea9
3 changed files with 8 additions and 2 deletions

View File

@@ -123,6 +123,10 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
return false;
}
supportsDuo(): boolean {
return true;
}
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string):
Promise<boolean> {
const buttons = [confirmText == null ? this.i18nService.t('ok') : confirmText];