Permalink
Browse files

Dismiss redbox upon pressing reload

Reviewed By: shergin

Differential Revision: D4405376

fbshipit-source-id: 63d624457c6afde3dbe71a66c57b410cf71cbbd3
  • Loading branch information...
javache authored and facebook-github-bot committed Jan 13, 2017
1 parent a94418f commit 8e4f33e669b6302c982f7757acc68521fc8d82f5
Showing with 1 addition and 0 deletions.
  1. +1 −0 React/Modules/RCTRedBox.m
@@ -454,6 +454,7 @@ - (void)redBoxWindow:(__unused RCTRedBoxWindow *)redBoxWindow openStackFrameInEd
- (void)reloadFromRedBoxWindow:(__unused RCTRedBoxWindow *)redBoxWindow
{
[_bridge reload];
[self dismiss];
}
@end

0 comments on commit 8e4f33e

Please sign in to comment.