Skip to content

Commit

Permalink
Remove unneeded RCTUIManager setAvailableSize call (wix#7412)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobuerger authored Dec 22, 2021
1 parent cffa291 commit 345344a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/ios/RNNComponentRootView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 345344a

Please sign in to comment.