Skip to content

Commit

Permalink
Fix attributes checking for Image.android.js
Browse files Browse the repository at this point in the history
Reviewed By: sahrens

Differential Revision: D2975018

fb-gh-sync-id: 226f2d3d3dcb538f0c3967346a9b226960c1d15c
shipit-source-id: 226f2d3d3dcb538f0c3967346a9b226960c1d15c
  • Loading branch information
Rui Chen authored and Facebook Github Bot 2 committed Mar 1, 2016
1 parent 9be1216 commit 7e3266d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Image/Image.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ var Image = React.createClass({
*/
viewConfig: {
uiViewClassName: 'RCTView',
validAttributes: ReactNativeViewAttributes.RKView
validAttributes: ReactNativeViewAttributes.RCTView,
},

_updateViewConfig: function(props) {
if (props.children) {
this.viewConfig = {
uiViewClassName: 'RCTView',
validAttributes: ReactNativeViewAttributes.RKView,
validAttributes: ReactNativeViewAttributes.RCTView,
};
} else {
this.viewConfig = {
Expand Down

0 comments on commit 7e3266d

Please sign in to comment.