Browse Source

Fix condition on font check for Title font change. (#1026)

Rui Araújo 8 years ago
parent
commit
126f5a3ffa

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/views/TitleBar.java View File

@@ -128,7 +128,7 @@ public class TitleBar extends Toolbar {
128 128
     }
129 129
 
130 130
     protected void setTitleTextFont(StyleParams params) {
131
-        if (params.titleBarTitleFont.hasFont()) {
131
+        if (!params.titleBarTitleFont.hasFont()) {
132 132
             return;
133 133
         }
134 134
         View titleView = getTitleView();