about summary refs log tree commit diff
path: root/src/view/com/lightbox/Lightbox.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-14 19:46:46 -0600
committerGitHub <noreply@github.com>2023-11-14 17:46:46 -0800
commitab1ce078ec16866c691eac81f7b1517bb26399c9 (patch)
tree34de1759b965279575afe095613f4aa5f6541ea1 /src/view/com/lightbox/Lightbox.tsx
parent7d5e01f4330a1227b877dddc7368a50cfef68be0 (diff)
downloadvoidsky-ab1ce078ec16866c691eac81f7b1517bb26399c9.tar.zst
Fix openCamera, openCropped, lightbox model, and image model usages (#1908)
Diffstat (limited to 'src/view/com/lightbox/Lightbox.tsx')
-rw-r--r--src/view/com/lightbox/Lightbox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/lightbox/Lightbox.tsx b/src/view/com/lightbox/Lightbox.tsx
index 1b644fcea..1cadbf9a6 100644
--- a/src/view/com/lightbox/Lightbox.tsx
+++ b/src/view/com/lightbox/Lightbox.tsx
@@ -94,7 +94,7 @@ const LightboxFooter = observer(function LightboxFooter({
     altText = opts.images[imageIndex].alt || ''
   } else if (lightbox.name === 'profile-image') {
     const opts = lightbox as models.ProfileImageLightbox
-    uri = opts.profileView.avatar || ''
+    uri = opts.profile.avatar || ''
   }
 
   return (