Show almost-instant preview when opening lightbox (#6000)

* Plumb thumbUri down to the lightbox

* Remove onLoad tracking from lightbox

* Hook up placeholder URI to the image

* Fix NaN causing crash on double tap while offline

* Protect against NaNs in the future
This commit is contained in:
dan
2024-10-29 21:00:28 +00:00
committed by GitHub
parent 339f45ccbb
commit ab492cd77a
9 changed files with 56 additions and 78 deletions
+1
View File
@@ -10,6 +10,7 @@ type ProfileImageLightbox = {
type ImagesLightboxItem = {
uri: string
thumbUri: string
alt?: string
}