From a09aca5bb0914bfd0248e18e4f017f22a98a2faf Mon Sep 17 00:00:00 2001 From: wd39 <1569609+wd39@users.noreply.github.com> Date: Sat, 3 Nov 2018 18:35:21 -0700 Subject: [PATCH] Fix the comment for getSize in Image.android.js (#22092) Summary: A minor change to the comment in the Image.android.js file. Pull Request resolved: https://github.com/facebook/react-native/pull/22092 Differential Revision: D12918066 Pulled By: TheSavior fbshipit-source-id: f27c63241c9dde780c037edcbcdf4cc10d55d33e --- Libraries/Image/Image.android.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js index 2930ee90728..70e6e0f4041 100644 --- a/Libraries/Image/Image.android.js +++ b/Libraries/Image/Image.android.js @@ -262,10 +262,9 @@ let Image = ( Image = React.forwardRef(Image); /** - * Prefetches a remote image for later use by downloading it to the disk - * cache + * Retrieve the width and height (in pixels) of an image prior to displaying it * - * See https://facebook.github.io/react-native/docs/image.html#prefetch + * See https://facebook.github.io/react-native/docs/image.html#getsize */ Image.getSize = getSize;