Parcourir la source

Remove unused property

Guy Carmeli il y a 8 ans
Parent
révision
617d87e65a

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/params/StyleParams.java Voir le fichier

@@ -47,7 +47,6 @@ public class StyleParams {
47 47
 
48 48
     public Color topTabTextColor;
49 49
     public Color selectedTopTabTextColor;
50
-    public Color selectedTopTabColor;
51 50
     public int selectedTopTabIndicatorHeight;
52 51
     public Color selectedTopTabIndicatorColor;
53 52
 

+ 0
- 5
android/app/src/main/java/com/reactnativenavigation/params/parsers/StyleParamsParser.java Voir le fichier

@@ -31,7 +31,6 @@ public class StyleParamsParser {
31 31
 
32 32
         result.topTabTextColor = getColor("topTabTextColor", getDefaultTopTabTextColor());
33 33
         result.selectedTopTabTextColor = getColor("selectedTopTabTextColor", getDefaultSelectedTopTabTextColor());
34
-        result.selectedTopTabColor = getColor("selectedTopTabColor", getDefaultSelectedTopTabColor());
35 34
         result.selectedTopTabIndicatorHeight = getInt("selectedTopTabIndicatorHeight", getDefaultSelectedTopTabIndicatorHeight());
36 35
         result.selectedTopTabIndicatorColor = getColor("selectedTopTabIndicatorColor", getDefaultSelectedTopTabIndicatorColor());
37 36
 
@@ -60,10 +59,6 @@ public class StyleParamsParser {
60 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 62
     private StyleParams.Color getDefaultSelectedTopTabTextColor() {
68 63
         return AppStyle.appStyle == null ? new StyleParams.Color() : AppStyle.appStyle.selectedTopTabTextColor;
69 64
     }

+ 0
- 1
src/deprecated/platformSpecificDeprecated.android.js Voir le fichier

@@ -107,7 +107,6 @@ function convertStyleParams(originalStyleObject) {
107 107
 
108 108
     topTabTextColor: originalStyleObject.topTabTextColor,
109 109
     selectedTopTabTextColor: originalStyleObject.selectedTopTabTextColor,
110
-    selectedTopTabColor: originalStyleObject.selectedTopTabColor,
111 110
     selectedTopTabIndicatorHeight: originalStyleObject.selectedTopTabIndicatorHeight,
112 111
     selectedTopTabIndicatorColor: originalStyleObject.selectedTopTabIndicatorColor,
113 112