소스 검색

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