ソースを参照

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

This reverts commit 69c3e0dea8.
yogevbd 6 年 前
コミット
be09cb0e9a
共有1 個のファイルを変更した0 個の追加15 個の削除を含む
  1. 0
    15
      lib/ios/RNNNavigationController.m

+ 0
- 15
lib/ios/RNNNavigationController.m ファイルの表示

@@ -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