From 27fdce7af2cdb7c0cc6b904a4cd832e8315c5ddd Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 3 Mar 2017 01:13:57 -0500 Subject: [PATCH] refactor(safari-view-controller): hide returns promise --- src/plugins/safari-view-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/safari-view-controller.ts b/src/plugins/safari-view-controller.ts index c46869fa..dd5012ed 100644 --- a/src/plugins/safari-view-controller.ts +++ b/src/plugins/safari-view-controller.ts @@ -81,7 +81,7 @@ export class SafariViewController { * Hides Safari View Controller */ @Cordova() - static hide(): void { } + static hide(): Promise { return; } /** * Tries to connect to the Chrome's custom tabs service. you must call this method before calling any of the other methods listed below.