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