浏览代码

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
         }
379
         }
380
     };
380
     };
381
     
381
     
382
-    if(self.transitionCoordinator.initiallyInteractive || !navBarTransparentBool) {
382
+    if (!self.transitionCoordinator || self.transitionCoordinator.initiallyInteractive || !navBarTransparentBool || appeared) {
383
         action();
383
         action();
384
     } else {
384
     } else {
385
         UIView* backgroundView = [self.navigationController.navigationBar valueForKey:@"backgroundView"];
385
         UIView* backgroundView = [self.navigationController.navigationBar valueForKey:@"backgroundView"];