Browse Source

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 7 years ago
parent
commit
bbe19cbd9c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RCCViewController.m

+ 1
- 1
ios/RCCViewController.m View File

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"];