Fix the final === 0 removal.

This commit is contained in:
Nathanael Anderson
2015-11-16 14:19:54 -06:00
parent 84d79b44dc
commit 77f3008c5c

View File

@@ -275,7 +275,7 @@ export function action(arg: any): Promise<string> {
var alert = new android.app.AlertDialog.Builder(activity);
var message = options && types.isString(options.message) ? options.message : "";
var title = options && types.isString(options.title) ? options.title : "";
if (options && (options.cancelable === false || options.cancelable === 0)) {
if (options && options.cancelable === false) {
alert.setCancelable(false);
}