Browse Source

fix(TopTabOptions): fixed attribute naming for parser (#3071)

b_d 6 years ago
parent
commit
49b840dc22

+ 1
- 1
lib/android/app/src/main/java/com/reactnativenavigation/parse/TopTabsOptions.java View File

@@ -25,7 +25,7 @@ public class TopTabsOptions {
25 25
     public static TopTabsOptions parse(@Nullable JSONObject json) {
26 26
         TopTabsOptions result = new TopTabsOptions();
27 27
         if (json == null) return result;
28
-        result.selectedTabColor = ColorParser.parse(json, "selectedColor");
28
+        result.selectedTabColor = ColorParser.parse(json, "selectedTabColor");
29 29
         result.unselectedTabColor = ColorParser.parse(json, "unselectedTabColor");
30 30
         result.fontSize = NumberParser.parse(json, "fontSize");
31 31
         result.visible = BoolParser.parse(json, "visible");