mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-01-25 06:09:39 -05:00
* reduce prop surface area for map-related components * map just receives an observation, not a bunch of its properties * adjust a lot of logic based on observation.obscured to more specific logic based on whether the current user can view the coordinates * hide the map on ObsDetails if there are no coordinates * show the spec'd explanation for why coordinates are obscured * remove a prop that just hides a component if true; that should really be up to the outer context * fixed a bug on ObsDetail where the remote obs wasn't getting mapped to Realm-ish attributes * prevent button mashing from opening multiple TaxonDetails * clean out the state related obs create / edit after exiting that flow so that TaxonDetails (or anyone else trying to detect an obs being edited) doesn't end up finding it when the user has finished creating / editing. Closes #2271