From 8e4f33e669b6302c982f7757acc68521fc8d82f5 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Fri, 13 Jan 2017 03:45:01 -0800 Subject: [PATCH] Dismiss redbox upon pressing reload Reviewed By: shergin Differential Revision: D4405376 fbshipit-source-id: 63d624457c6afde3dbe71a66c57b410cf71cbbd3 --- React/Modules/RCTRedBox.m | 1 + 1 file changed, 1 insertion(+) diff --git a/React/Modules/RCTRedBox.m b/React/Modules/RCTRedBox.m index c3e1c0f91..7d7b47b49 100644 --- a/React/Modules/RCTRedBox.m +++ b/React/Modules/RCTRedBox.m @@ -454,6 +454,7 @@ RCT_EXPORT_METHOD(dismiss) - (void)reloadFromRedBoxWindow:(__unused RCTRedBoxWindow *)redBoxWindow { [_bridge reload]; + [self dismiss]; } @end