Browse Source

Fix default titleBarHeight when appStyle is defined

This prevented custom react views in navBar from being displayed if AppStyle was used.
Guy Carmeli 7 years ago
parent
commit
9843cbb1f1

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

114
         result.titleBarHideOnScroll = false;
114
         result.titleBarHideOnScroll = false;
115
         result.orientation = Orientation.auto;
115
         result.orientation = Orientation.auto;
116
         result.bottomTabFontFamily = new StyleParams.Font();
116
         result.bottomTabFontFamily = new StyleParams.Font();
117
+        result.titleBarHeight = -1;
117
         return result;
118
         return result;
118
     }
119
     }
119
 
120