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
     }
128
     }
129
 
129
 
130
     protected void setTitleTextFont(StyleParams params) {
130
     protected void setTitleTextFont(StyleParams params) {
131
-        if (params.titleBarTitleFont.hasFont()) {
131
+        if (!params.titleBarTitleFont.hasFont()) {
132
             return;
132
             return;
133
         }
133
         }
134
         View titleView = getTitleView();
134
         View titleView = getTitleView();