1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

implement showdialog

This commit is contained in:
Kyle Spearrin 2018-02-02 23:46:30 -05:00
parent 479346faf0
commit a18cd026f0

View File

@ -160,6 +160,11 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
return this.isChrome() || this.isOpera();
}
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) {
// TODO
return Promise.resolve(true);
}
private sidebarViewName(): string {
if ((window as any).chrome.sidebarAction && this.isFirefox()) {
return 'sidebar';