mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 12:45:37 +08:00
Cleanup
This commit is contained in:
@@ -73,7 +73,7 @@ RCT_NOT_IMPLEMENTED(-initWithFrame:(CGRect)frame)
|
||||
[super didMoveToSuperview];
|
||||
|
||||
if (self.superview) {
|
||||
[self.backingViewController presentViewController:_modalViewController animated:self.animated completion:nil];
|
||||
[self.reactViewController presentViewController:_modalViewController animated:self.animated completion:nil];
|
||||
} else {
|
||||
[_modalViewController dismissViewControllerAnimated:self.animated completion:nil];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user