Browse Source

Rename parser

Guy Carmeli 8 years ago
parent
commit
ee910b0db3

android/app/src/main/java/com/reactnativenavigation/params/parsers/CollapsingTopBarParser.java → android/app/src/main/java/com/reactnativenavigation/params/parsers/CollapsingTopBarParamsParser.java View File

6
 import com.reactnativenavigation.params.CollapsingTopBarParams;
6
 import com.reactnativenavigation.params.CollapsingTopBarParams;
7
 import com.reactnativenavigation.params.StyleParams;
7
 import com.reactnativenavigation.params.StyleParams;
8
 
8
 
9
-public class CollapsingTopBarParser extends Parser {
9
+public class CollapsingTopBarParamsParser extends Parser {
10
     private Bundle params;
10
     private Bundle params;
11
 
11
 
12
-    public CollapsingTopBarParser(Bundle params) {
12
+    public CollapsingTopBarParamsParser(Bundle params) {
13
         this.params = params;
13
         this.params = params;
14
     }
14
     }
15
 
15
 

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

25
         result.contextualMenuBackgroundColor = getColor("contextualMenuBackgroundColor", getDefaultContextualMenuBackgroundColor());
25
         result.contextualMenuBackgroundColor = getColor("contextualMenuBackgroundColor", getDefaultContextualMenuBackgroundColor());
26
 
26
 
27
         result.topBarColor = getColor("topBarColor", getDefaultTopBarColor());
27
         result.topBarColor = getColor("topBarColor", getDefaultTopBarColor());
28
-        result.collapsingTopBarParams = new CollapsingTopBarParser(params).parse();
28
+        result.collapsingTopBarParams = new CollapsingTopBarParamsParser(params).parse();
29
         result.titleBarHidden = getBoolean("titleBarHidden", getDefaultTopBarHidden());
29
         result.titleBarHidden = getBoolean("titleBarHidden", getDefaultTopBarHidden());
30
         result.topBarTransparent = getBoolean("topBarTransparent", getDefaultTopBarHidden());
30
         result.topBarTransparent = getBoolean("topBarTransparent", getDefaultTopBarHidden());
31
         result.titleBarTitleColor = getColor("titleBarTitleColor", getDefaultTitleBarColor());
31
         result.titleBarTitleColor = getColor("titleBarTitleColor", getDefaultTitleBarColor());