We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c21f38f commit 74d99abCopy full SHA for 74d99ab
src/dialogs/dialogs.ios.ts
@@ -226,7 +226,7 @@ function createAlertController(options: DialogOptions & MDCAlertControlerOptions
226
const context = options.context || {};
227
context.closeCallback = function (originalArgs) {
228
if (alertController._resolveFunction) {
229
- alertController._resolveFunction.apply(this, originalArgs);
+ alertController._resolveFunction(originalArgs);
230
alertController._resolveFunction = null;
231
}
232
alertController.dismissViewControllerAnimatedCompletion(true, () => {
0 commit comments