소스 검색

Fix/set style (#774)

* Fixed issue with rightButtons getting ignored in preference for empty Screen buttons

* Fixes setting transparency of navigation bar using setStyle or when no transitionCoordinator
Simon Mitchell 8 년 전
부모
커밋
bbe19cbd9c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      ios/RCCViewController.m

+ 1
- 1
ios/RCCViewController.m 파일 보기

@@ -379,7 +379,7 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
379 379
         }
380 380
     };
381 381
     
382
-    if(self.transitionCoordinator.initiallyInteractive || !navBarTransparentBool) {
382
+    if (!self.transitionCoordinator || self.transitionCoordinator.initiallyInteractive || !navBarTransparentBool || appeared) {
383 383
         action();
384 384
     } else {
385 385
         UIView* backgroundView = [self.navigationController.navigationBar valueForKey:@"backgroundView"];