mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Remove Explore back btn when hidden; make sure positional accuracy gets fetched before Suggestions
This commit is contained in:
@@ -71,6 +71,7 @@ const usePrepareStoreAndNavigate = (
|
||||
if ( location?.latitude ) {
|
||||
newObservation.latitude = location?.latitude;
|
||||
newObservation.longitude = location?.longitude;
|
||||
newObservation.positional_accuracy = location?.positional_accuracy;
|
||||
}
|
||||
newObservation.observationPhotos = await ObservationPhoto
|
||||
.createObsPhotosWithPosition( localFilePaths, {
|
||||
|
||||
@@ -58,14 +58,12 @@ const Header = ( {
|
||||
<Surface style={surfaceStyle} elevation={5}>
|
||||
<View className="bg-white px-6 py-4 flex-row justify-between items-center">
|
||||
<View className="flex-1 flex-row">
|
||||
{!hideBackButton
|
||||
? (
|
||||
<BackButton
|
||||
inCustomHeader
|
||||
testID="Explore.BackButton"
|
||||
/>
|
||||
)
|
||||
: <View className="w-[44px]" />}
|
||||
{!hideBackButton && (
|
||||
<BackButton
|
||||
inCustomHeader
|
||||
testID="Explore.BackButton"
|
||||
/>
|
||||
) }
|
||||
<View>
|
||||
{taxon
|
||||
? (
|
||||
|
||||
@@ -169,7 +169,7 @@ Community-Moderation-Settings = Community Moderation Settings
|
||||
CONFIRM = CONFIRM
|
||||
Connect-with-other-naturalists = Connect with other naturalists and engage in conversations.
|
||||
Connected-Accounts = Connected Accounts
|
||||
Connection-problem-please-try-again-later = Connection problem. Please try again later.
|
||||
Connection-problem-Please-try-again-later = Connection problem. Please try again later.
|
||||
CONTACT-SUPPORT = CONTACT SUPPORT
|
||||
Content-Display = Content & Display
|
||||
Coordinates-copied-to-keyboard = Coordinates copied to keyboard
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
"CONFIRM": "CONFIRM",
|
||||
"Connect-with-other-naturalists": "Connect with other naturalists and engage in conversations.",
|
||||
"Connected-Accounts": "Connected Accounts",
|
||||
"Connection-problem-please-try-again-later": "Connection problem. Please try again later.",
|
||||
"Connection-problem-Please-try-again-later": "Connection problem. Please try again later.",
|
||||
"CONTACT-SUPPORT": "CONTACT SUPPORT",
|
||||
"Content-Display": "Content & Display",
|
||||
"Coordinates-copied-to-keyboard": "Coordinates copied to keyboard",
|
||||
|
||||
@@ -169,7 +169,7 @@ Community-Moderation-Settings = Community Moderation Settings
|
||||
CONFIRM = CONFIRM
|
||||
Connect-with-other-naturalists = Connect with other naturalists and engage in conversations.
|
||||
Connected-Accounts = Connected Accounts
|
||||
Connection-problem-please-try-again-later = Connection problem. Please try again later.
|
||||
Connection-problem-Please-try-again-later = Connection problem. Please try again later.
|
||||
CONTACT-SUPPORT = CONTACT SUPPORT
|
||||
Content-Display = Content & Display
|
||||
Coordinates-copied-to-keyboard = Coordinates copied to keyboard
|
||||
|
||||
Reference in New Issue
Block a user