From 759d3f11b8d5cbc30db24f2c2356a7df5fcb9030 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 28 Dec 2023 15:47:05 -0800 Subject: [PATCH] Use memory caching for android lightbox (#2354) --- .../ImageViewing/components/ImageItem/ImageItem.android.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.android.tsx b/src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.android.tsx index ea740ec9..003ad61b 100644 --- a/src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.android.tsx +++ b/src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.android.tsx @@ -320,6 +320,7 @@ const ImageItem = ({ accessibilityLabel={imageSrc.alt} accessibilityHint="" onLoad={() => setIsLoaded(true)} + cachePolicy="memory" />