fix color names

This commit is contained in:
Gustavo Fão Valvassori 2017-02-18 06:34:31 -02:00 committed by GitHub
parent 6d15e55360
commit 24c331efd7
1 changed files with 2 additions and 2 deletions

View File

@ -58,13 +58,13 @@ public class DialogAndroid extends ReactContextBaseJavaModule {
builder.negativeText(options.getString("negativeText"));
break;
case "negativeColor":
builder.negativeColor(Color.parseColor(options.getString("positiveColor")));
builder.negativeColor(Color.parseColor(options.getString("negativeColor")));
break;
case "neutralText":
builder.neutralText(options.getString("neutralText"));
break;
case "neutralColor":
builder.neutralColor(Color.parseColor(options.getString("positiveColor")));
builder.neutralColor(Color.parseColor(options.getString("neutralColor")));
break;
case "items":
ReadableArray arr = options.getArray("items");