From 49ea1c7dd2592fc72cf2e3ad33eb554495fbc83a Mon Sep 17 00:00:00 2001 From: wd39 <1569609+wd39@users.noreply.github.com> Date: Sat, 3 Nov 2018 00:46:23 +0100 Subject: [PATCH 1/2] Fix the comment for getSize in Image.android.js --- 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 2930ee907280..fde58a9b375a 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#getsize */ Image.getSize = getSize; From 841b3f982a7ae376155e07ce9bf054e99cc6db1c Mon Sep 17 00:00:00 2001 From: wd39 <1569609+wd39@users.noreply.github.com> Date: Sat, 3 Nov 2018 00:56:39 +0100 Subject: [PATCH 2/2] Update according to styling rules --- Libraries/Image/Image.android.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js index fde58a9b375a..70e6e0f40414 100644 --- a/Libraries/Image/Image.android.js +++ b/Libraries/Image/Image.android.js @@ -262,9 +262,9 @@ let Image = ( Image = React.forwardRef(Image); /** - * Retrieve the width and height (in pixels) of an image prior to displaying it. + * Retrieve the width and height (in pixels) of an image prior to displaying it * - * See https://facebook.github.io/react-native/docs/image#getsize + * See https://facebook.github.io/react-native/docs/image.html#getsize */ Image.getSize = getSize;