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