[ReactNative] Strip prefixes from NativeModules keys

This commit is contained in:
Spencer Ahrens
2015-03-17 22:22:03 -07:00
parent 2991f583e0
commit 9086365faf
46 changed files with 75 additions and 75 deletions

View File

@@ -56,7 +56,7 @@ var ActivityIndicatorIOS = React.createClass({
render: function() {
var style = styles.sizeSmall;
var NativeConstants = NativeModules.RCTUIManager.UIActivityIndicatorView.Constants;
var NativeConstants = NativeModules.UIManager.UIActivityIndicatorView.Constants;
var activityIndicatorViewStyle = NativeConstants.StyleWhite;
if (this.props.size === 'large') {
style = styles.sizeLarge;