mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 01:22:26 +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