Browse Source

Revert "Adresses #3963 - stack options applied to children"

This reverts commit 69c3e0dea8.
yogevbd 6 years ago
parent
commit
be09cb0e9a
1 changed files with 0 additions and 15 deletions
  1. 0
    15
      lib/ios/RNNNavigationController.m

+ 0
- 15
lib/ios/RNNNavigationController.m View File

@@ -57,20 +57,5 @@
57 57
 	return self.topViewController;
58 58
 }
59 59
 
60
-- (void)setViewControllers:(NSArray<__kindof UIViewController *> *)viewControllers {
61
-	[super setViewControllers:viewControllers];
62
-	for (UIViewController<RNNRootViewProtocol>* viewController in viewControllers) {
63
-		if (viewController.layoutInfo.options) {
64
-			[viewController.layoutInfo.options mergeOptions:self.layoutInfo.options overrideOptions:NO];
65
-		}
66
-	}
67
-}
68
-
69
-- (void)pushViewController:(UIViewController<RNNRootViewProtocol> *)viewController animated:(BOOL)animated {
70
-	[super pushViewController:viewController animated:animated];
71
-	if (viewController.layoutInfo.options) {
72
-		[viewController.layoutInfo.options mergeOptions:self.layoutInfo.options overrideOptions:NO];
73
-	}
74
-}
75 60
 
76 61
 @end