From a18cd026f0318ceafbcca93b42f85dd6c255736e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 2 Feb 2018 23:46:30 -0500 Subject: [PATCH] implement showdialog --- src/services/browserPlatformUtils.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/services/browserPlatformUtils.service.ts b/src/services/browserPlatformUtils.service.ts index b83256c0e4..38fcf3dbce 100644 --- a/src/services/browserPlatformUtils.service.ts +++ b/src/services/browserPlatformUtils.service.ts @@ -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';