Bladeren bron

Fix default titleBarHeight when appStyle is defined

This prevented custom react views in navBar from being displayed if AppStyle was used.
Guy Carmeli 7 jaren geleden
bovenliggende
commit
9843cbb1f1

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/params/parsers/StyleParamsParser.java Bestand weergeven

@@ -114,6 +114,7 @@ public class StyleParamsParser {
114 114
         result.titleBarHideOnScroll = false;
115 115
         result.orientation = Orientation.auto;
116 116
         result.bottomTabFontFamily = new StyleParams.Font();
117
+        result.titleBarHeight = -1;
117 118
         return result;
118 119
     }
119 120