Skip to content

Commit

Permalink
fix(pin-dialog): add missing errorIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Feb 7, 2017
1 parent 94a4519 commit b7701cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/pin-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export class PinDialog {
* @returns {Promise<{ buttonIndex: number, input1: string }>}
*/
@Cordova({
successIndex: 1
successIndex: 1,
errorIndex: 4 // no error callback
})
static prompt(message: string, title: string, buttons: string[]): Promise<{ buttonIndex: number, input1: string }> { return; }

Expand Down

0 comments on commit b7701cd

Please sign in to comment.