Fixed wrong name.

This commit is contained in:
atanasovg
2014-06-05 14:21:43 +03:00
parent 71af5f955d
commit 459e03d8ed

View File

@ -11,7 +11,7 @@ var STRING = "string",
CANCEL = "Cancel";
function createAlertDialog(options: dialogs.DialogOptions): android.app.AlertDialog.Builder {
var alert = new android.app.AlertDialog.Builder(appmodule.android.currentActivity);
var alert = new android.app.AlertDialog.Builder(appmodule.android.foregroundActivity);
alert.setTitle(options.title);
alert.setMessage(options.message);
return alert;