mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-28 17:27:50 +01:00
implement showdialog
This commit is contained in:
parent
479346faf0
commit
a18cd026f0
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user