mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-19 06:23:12 -04:00
* Access MediaViewer from TaxonDetails * Added our own presets for ActivityIndicator * TaxonDetail should show a local taxon if one is available * Made it a little easier to import the custom logger * Refactored MediaViewer to accept photo-like objects instead of URIs * Added license / attribution button to MediaViewer * Moved delete button into MainPhotoDisplay so each photo has its own button and it can be laid out relative to its photo * Add custom header to MediaViewer when accessed from TaxonDetial * Allow DisplayTaxonName to accept custom text components as props * Added darker bg to photo on TaxonDetail to make title more legible
10 lines
269 B
JavaScript
10 lines
269 B
JavaScript
import { define } from "factoria";
|
|
|
|
export default define( "RemotePhoto", faker => ( {
|
|
id: faker.number.int( ),
|
|
attribution: "(c) username, some rights reserved (CC BY-NC)",
|
|
license_code: "cc-by-nc",
|
|
url: faker.image.url( ),
|
|
uuid: faker.string.uuid( )
|
|
} ) );
|