Use Photo.getLocalPhotoUri helper to display local photo (#3289)

This commit is contained in:
Johannes Klein
2025-12-12 22:36:17 +01:00
committed by GitHub
parent 4c49e69851
commit f7ee3fb829

View File

@@ -34,7 +34,7 @@ const PhotosSection = ( {
const localTaxonPhotos = taxon?.taxonPhotos;
const observationPhoto = obsPhotos?.[0]?.photo?.url
|| obsPhotos?.[0]?.photo?.localFilePath;
|| Photo.getLocalPhotoUri( obsPhotos?.[0]?.photo?.localFilePath );
const taxonPhotos = compact(
localTaxonPhotos