Pārlūkot izejas kodu

Remove unneeded code

Leo Natan 6 gadus atpakaļ
vecāks
revīzija
edf50010af
No account linked to committer's email address
1 mainītis faili ar 0 papildinājumiem un 5 dzēšanām
  1. 0
    5
      ios/RNNSwizzles.m

+ 0
- 5
ios/RNNSwizzles.m Parādīt failu

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