Browse Source

Set default fontFamily

fixes #2038
Guy Carmeli 7 years ago
parent
commit
bd818b4dda

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

116
         result.titleBarHideOnScroll = false;
116
         result.titleBarHideOnScroll = false;
117
         result.orientation = Orientation.auto;
117
         result.orientation = Orientation.auto;
118
         result.bottomTabFontFamily = new StyleParams.Font();
118
         result.bottomTabFontFamily = new StyleParams.Font();
119
+        result.titleBarTitleFont = new StyleParams.Font();
120
+        result.titleBarSubtitleFontFamily = new StyleParams.Font();
119
         result.titleBarHeight = -1;
121
         result.titleBarHeight = -1;
120
         return result;
122
         return result;
121
     }
123
     }