From 441d146b7b3239feee191704f8ae465aa8177716 Mon Sep 17 00:00:00 2001 From: Marc Horowitz Date: Wed, 28 Sep 2016 13:53:27 -0700 Subject: [PATCH] Include the name of the bridge class in the dev menu Reviewed By: javache Differential Revision: D3933300 fbshipit-source-id: 933191c31731f4ad1a44dfe0854b28ef802e4dd1 --- React/Modules/RCTDevMenu.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/React/Modules/RCTDevMenu.m b/React/Modules/RCTDevMenu.m index 42fa68a6c..648e53333 100644 --- a/React/Modules/RCTDevMenu.m +++ b/React/Modules/RCTDevMenu.m @@ -512,7 +512,8 @@ RCT_EXPORT_METHOD(show) return; } - _actionSheet = [UIAlertController alertControllerWithTitle:@"React Native: Development" + NSString *title = [NSString stringWithFormat:@"React Native: Development (%@)", [_bridge class]]; + _actionSheet = [UIAlertController alertControllerWithTitle:title message:@"" preferredStyle:UIAlertControllerStyleActionSheet]; NSArray *items = [self menuItems];