Skip to content

Commit

Permalink
fix(safari-view-controller): fix issue caused by calling show without…
Browse files Browse the repository at this point in the history
… options
  • Loading branch information
ihadeed committed Jan 31, 2017
1 parent 6131419 commit dc37d8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/safari-view-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ export class SafariViewController {
* @param options {SafariViewControllerOptions} optional
* @returns {Promise<any>}
*/
@Cordova()
@Cordova({
successIndex: 1,
errorIndex: 2
})
static show(options?: SafariViewControllerOptions): Promise<any> { return; }

/**
Expand Down

0 comments on commit dc37d8f

Please sign in to comment.