mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
fix(safari-view-controller): fix issue caused by calling show without options
This commit is contained in:
parent
613141998a
commit
dc37d8f71c
@ -71,7 +71,10 @@ export class SafariViewController {
|
|||||||
* @param options {SafariViewControllerOptions} optional
|
* @param options {SafariViewControllerOptions} optional
|
||||||
* @returns {Promise<any>}
|
* @returns {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova({
|
||||||
|
successIndex: 1,
|
||||||
|
errorIndex: 2
|
||||||
|
})
|
||||||
static show(options?: SafariViewControllerOptions): Promise<any> { return; }
|
static show(options?: SafariViewControllerOptions): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user