Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
bbe19cbd9c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      ios/RCCViewController.m

+ 1
- 1
ios/RCCViewController.m Parādīt failu

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