ソースを参照

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