mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 14:08:56 -05:00
Use Photo.getLocalPhotoUri helper to display local photo (#3289)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user