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")); builder.negativeText(options.getString("negativeText"));
break; break;
case "negativeColor": case "negativeColor":
builder.negativeColor(Color.parseColor(options.getString("positiveColor"))); builder.negativeColor(Color.parseColor(options.getString("negativeColor")));
break; break;
case "neutralText": case "neutralText":
builder.neutralText(options.getString("neutralText")); builder.neutralText(options.getString("neutralText"));
break; break;
case "neutralColor": case "neutralColor":
builder.neutralColor(Color.parseColor(options.getString("positiveColor"))); builder.neutralColor(Color.parseColor(options.getString("neutralColor")));
break; break;
case "items": case "items":
ReadableArray arr = options.getArray("items"); ReadableArray arr = options.getArray("items");