Skip to content

Commit 1fe0f4d

Browse files
franticFacebook Github Bot
authored and
Facebook Github Bot
committed
Add deprecated flag for nativeImageSource
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
1 parent 97887c2 commit 1fe0f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Libraries/Image/nativeImageSource.js

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function nativeImageSource(spec: SourceSpec): Object {
4747
uri,
4848
width: spec.width,
4949
height: spec.height,
50+
deprecated: true,
5051
};
5152
}
5253

0 commit comments

Comments
 (0)