Browse Source

Remove unused property

Guy Carmeli 8 years ago
parent
commit
617d87e65a

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/params/StyleParams.java View File

47
 
47
 
48
     public Color topTabTextColor;
48
     public Color topTabTextColor;
49
     public Color selectedTopTabTextColor;
49
     public Color selectedTopTabTextColor;
50
-    public Color selectedTopTabColor;
51
     public int selectedTopTabIndicatorHeight;
50
     public int selectedTopTabIndicatorHeight;
52
     public Color selectedTopTabIndicatorColor;
51
     public Color selectedTopTabIndicatorColor;
53
 
52
 

+ 0
- 5
android/app/src/main/java/com/reactnativenavigation/params/parsers/StyleParamsParser.java View File

31
 
31
 
32
         result.topTabTextColor = getColor("topTabTextColor", getDefaultTopTabTextColor());
32
         result.topTabTextColor = getColor("topTabTextColor", getDefaultTopTabTextColor());
33
         result.selectedTopTabTextColor = getColor("selectedTopTabTextColor", getDefaultSelectedTopTabTextColor());
33
         result.selectedTopTabTextColor = getColor("selectedTopTabTextColor", getDefaultSelectedTopTabTextColor());
34
-        result.selectedTopTabColor = getColor("selectedTopTabColor", getDefaultSelectedTopTabColor());
35
         result.selectedTopTabIndicatorHeight = getInt("selectedTopTabIndicatorHeight", getDefaultSelectedTopTabIndicatorHeight());
34
         result.selectedTopTabIndicatorHeight = getInt("selectedTopTabIndicatorHeight", getDefaultSelectedTopTabIndicatorHeight());
36
         result.selectedTopTabIndicatorColor = getColor("selectedTopTabIndicatorColor", getDefaultSelectedTopTabIndicatorColor());
35
         result.selectedTopTabIndicatorColor = getColor("selectedTopTabIndicatorColor", getDefaultSelectedTopTabIndicatorColor());
37
 
36
 
60
         return AppStyle.appStyle == null ? -1 : AppStyle.appStyle.selectedTopTabIndicatorHeight;
59
         return AppStyle.appStyle == null ? -1 : AppStyle.appStyle.selectedTopTabIndicatorHeight;
61
     }
60
     }
62
 
61
 
63
-    private StyleParams.Color getDefaultSelectedTopTabColor() {
64
-        return AppStyle.appStyle == null ? new StyleParams.Color() : AppStyle.appStyle.selectedTopTabColor;
65
-    }
66
-
67
     private StyleParams.Color getDefaultSelectedTopTabTextColor() {
62
     private StyleParams.Color getDefaultSelectedTopTabTextColor() {
68
         return AppStyle.appStyle == null ? new StyleParams.Color() : AppStyle.appStyle.selectedTopTabTextColor;
63
         return AppStyle.appStyle == null ? new StyleParams.Color() : AppStyle.appStyle.selectedTopTabTextColor;
69
     }
64
     }

+ 0
- 1
src/deprecated/platformSpecificDeprecated.android.js View File

107
 
107
 
108
     topTabTextColor: originalStyleObject.topTabTextColor,
108
     topTabTextColor: originalStyleObject.topTabTextColor,
109
     selectedTopTabTextColor: originalStyleObject.selectedTopTabTextColor,
109
     selectedTopTabTextColor: originalStyleObject.selectedTopTabTextColor,
110
-    selectedTopTabColor: originalStyleObject.selectedTopTabColor,
111
     selectedTopTabIndicatorHeight: originalStyleObject.selectedTopTabIndicatorHeight,
110
     selectedTopTabIndicatorHeight: originalStyleObject.selectedTopTabIndicatorHeight,
112
     selectedTopTabIndicatorColor: originalStyleObject.selectedTopTabIndicatorColor,
111
     selectedTopTabIndicatorColor: originalStyleObject.selectedTopTabIndicatorColor,
113
 
112