Move GPS link

This commit is contained in:
Eric Bailey
2026-07-02 09:49:46 -05:00
parent f023e34bca
commit 0d22614904
+8 -11
View File
@@ -216,21 +216,22 @@ export function NoAccessScreen() {
</Text>
. This estimate may be inaccurate if you're
using a VPN.
</Trans>{' '}
</Trans>
</>
)}
{IS_NATIVE && (
<>
<Trans>
You can also{' '}
{' '}
<SimpleInlineLinkText
label={_(msg`Update your location`)}
{...createStaticClick(() => {
locationControl.open()
})}
style={[textStyles]}>
tap here to update your location with GPS.
</SimpleInlineLinkText>
<Trans>
Tap here to update your location via GPS.
</Trans>
</SimpleInlineLinkText>
<DeviceLocationRequestDialog
control={locationControl}
onLocationAcquired={props => {
@@ -248,9 +249,7 @@ export function NoAccessScreen() {
} else {
props.closeDialog(() => {
// set this after close!
setDeviceGeolocation(
props.geolocation,
)
setDeviceGeolocation(props.geolocation)
Toast.show(
_(msg`Thanks! You're all set.`),
{
@@ -263,8 +262,6 @@ export function NoAccessScreen() {
/>
</>
)}
</>
)}
</Text>
)}