Skip to content

Commit 5a79223

Browse files
author
farfromrefuge
committed
fix(dialogs): another android fix for context.closeCallback (not dismissing the dialog)
1 parent 173aef8 commit 5a79223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialogs/dialogs.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function prepareAndCreateAlertDialog(
229229
const view = (builder as any)._currentModalCustomView as View;
230230
const context = options.context || {};
231231
context.closeCallback = function (...originalArgs) {
232-
onDone(originalArgs);
232+
onDone(originalArgs, dlg);
233233
// if (callback) {
234234
// callback.apply(this, originalArgs);
235235
// }

0 commit comments

Comments
 (0)