Преглед изворни кода

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

Rui Araújo пре 8 година
родитељ
комит
126f5a3ffa
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      android/app/src/main/java/com/reactnativenavigation/views/TitleBar.java

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/views/TitleBar.java Прегледај датотеку

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();