From bd153bcaffa88b8911b0341053370d1bb8132458 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 4 Jun 2026 17:58:14 -0500 Subject: [PATCH] Tweak to work on web too just in case --- .../Post/Embed/GalleryFallbackEmbed.tsx | 55 ++++++++++++------- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/src/components/Post/Embed/GalleryFallbackEmbed.tsx b/src/components/Post/Embed/GalleryFallbackEmbed.tsx index 1d9ed7e44c..38d7e4d013 100644 --- a/src/components/Post/Embed/GalleryFallbackEmbed.tsx +++ b/src/components/Post/Embed/GalleryFallbackEmbed.tsx @@ -21,8 +21,6 @@ export function GalleryFallbackEmbed({count}: {count?: number}) { const t = useTheme() const {t: l} = useLingui() - if (!IS_NATIVE) return null - const bodyStyle = [ a.text_sm, a.text_center, @@ -57,30 +55,45 @@ export function GalleryFallbackEmbed({count}: {count?: number}) { other: 'This post has # photos.', })} - - {plural(count, { - one: 'Update your app to see it.', - other: 'Update your app to see them all.', - })} - + {IS_NATIVE ? ( + + {plural(count, { + one: 'Update your app to see it.', + other: 'Update your app to see them all.', + })} + + ) : ( + + {plural(count, { + one: 'Refresh the page to see it.', + other: 'Refresh the page to see them all.', + })} + + )} - ) : ( + ) : IS_NATIVE ? ( Update your app to see it. + ) : ( + + Refresh the page to see it. + + )} + {IS_NATIVE && ( + )} - ) }