fix color names
This commit is contained in:
parent
6d15e55360
commit
24c331efd7
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue