Include the name of the bridge class in the dev menu

Reviewed By: javache

Differential Revision: D3933300

fbshipit-source-id: 933191c31731f4ad1a44dfe0854b28ef802e4dd1
This commit is contained in:
Marc Horowitz 2016-09-28 13:53:27 -07:00 committed by Facebook Github Bot
parent b2dac834fb
commit 441d146b7b

View File

@ -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<RCTDevMenuItem *> *items = [self menuItems];