From 345344a2c27611c6b3dc24f7a54742b2df25a7cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Wed, 22 Dec 2021 14:09:59 +0100 Subject: [PATCH] Remove unneeded RCTUIManager setAvailableSize call (#7412) --- lib/ios/RNNComponentRootView.m | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/ios/RNNComponentRootView.m b/lib/ios/RNNComponentRootView.m index 768c9d5ff42..545ca7e9990 100644 --- a/lib/ios/RNNComponentRootView.m +++ b/lib/ios/RNNComponentRootView.m @@ -2,20 +2,6 @@ @implementation RNNComponentRootView -- (instancetype)initWithBridge:(RCTBridge *)bridge - moduleName:(NSString *)moduleName - initialProperties:(NSDictionary *)initialProperties - eventEmitter:(RNNEventEmitter *)eventEmitter - reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock { - self = [super initWithBridge:bridge - moduleName:moduleName - initialProperties:initialProperties - eventEmitter:eventEmitter - reactViewReadyBlock:reactViewReadyBlock]; - [bridge.uiManager setAvailableSize:UIScreen.mainScreen.bounds.size forRootView:self]; - return self; -} - - (NSString *)componentType { return ComponentTypeScreen; }