fix(launch-navigator): use currect handlers (#4385)

This commit is contained in:
Alex Ryltsov 2022-10-22 19:03:32 +02:00 committed by GitHub
parent 664e3385ce
commit 62f664e61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,8 +322,8 @@ export class LaunchNavigator extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>} * @returns {Promise<any>}
*/ */
@Cordova({ @Cordova({
successIndex: 2, successIndex: 1,
errorIndex: 3, errorIndex: 2
}) })
navigate(destination: string | number[], options?: LaunchNavigatorOptions): Promise<any> { navigate(destination: string | number[], options?: LaunchNavigatorOptions): Promise<any> {
return; return;