mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
Dismiss redbox upon pressing reload
Reviewed By: shergin Differential Revision: D4405376 fbshipit-source-id: 63d624457c6afde3dbe71a66c57b410cf71cbbd3
This commit is contained in:
parent
a94418fdd3
commit
8e4f33e669
@ -454,6 +454,7 @@ RCT_EXPORT_METHOD(dismiss)
|
||||
- (void)reloadFromRedBoxWindow:(__unused RCTRedBoxWindow *)redBoxWindow
|
||||
{
|
||||
[_bridge reload];
|
||||
[self dismiss];
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
x
Reference in New Issue
Block a user