Skip to content

Commit

Permalink
Add deprecated flag for nativeImageSource
Browse files Browse the repository at this point in the history
Summary:
Looks like the native Image implementation used to treat old `image!` images slightly differently. This diff restores that behavior for `nativeImageSource`.

{F65080365}

Reviewed By: mmmulani

Differential Revision: D4240506

fbshipit-source-id: d8d39216f86df32e0614d7cdc95df2148c85077a
  • Loading branch information
frantic authored and Facebook Github Bot committed Nov 28, 2016
1 parent 97887c2 commit 1fe0f4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/Image/nativeImageSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function nativeImageSource(spec: SourceSpec): Object {
uri,
width: spec.width,
height: spec.height,
deprecated: true,
};
}

Expand Down

0 comments on commit 1fe0f4d

Please sign in to comment.