fix(pin-dialog): add missing errorIndex

This commit is contained in:
Ibby 2017-02-07 10:19:32 -05:00
parent 94a4519f2b
commit b7701cdb16

View File

@ -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; }