Browse Source

Remove unneeded code

Leo Natan 6 years ago
parent
commit
edf50010af
No account linked to committer's email address
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      ios/RNNSwizzles.m

+ 0
- 5
ios/RNNSwizzles.m View File

@@ -72,11 +72,6 @@ static id (*__SWZ_initWithEventDispatcher_orig)(id self, SEL _cmd, id eventDispa
72 72
 	rv.top = CGRectIntersection(myFrameInVCView, CGRectMake(0, 0, vc.view.bounds.size.width, vc.topLayoutGuide.length)).size.height;
73 73
 	rv.bottom = CGRectIntersection(myFrameInVCView, CGRectMake(0, vc.view.bounds.size.height - vc.bottomLayoutGuide.length, vc.view.bounds.size.width, vc.bottomLayoutGuide.length)).size.height;
74 74
 	
75
-	if (@available(iOS 11.0, *))
76
-	{
77
-		NSParameterAssert(UIEdgeInsetsEqualToEdgeInsets(self.safeAreaInsets, rv));
78
-	}
79
-	
80 75
 	return rv;
81 76
 }
82 77