Skip to content

Commit 4e31b7a

Browse files
committed
Fix loading start waypoint address in background task
1 parent 09c7822 commit 4e31b7a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/setup/backgroundLocationTrackingTask/index.native.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ async function updateStartAddress(gpsPoints: GPSPoint[][], isOffline: boolean) {
5959
} else {
6060
setStartWaypointAddress({value: coordinatesToString({lat: startPoint.lat, long: startPoint.long}), type: 'coordinates'}, tripSegmentIndex, updatedGpsPoints);
6161
}
62+
return;
6263
}
6364

6465
setStartWaypointAddress({value: coordinatesToString({lat: startPoint.lat, long: startPoint.long}), type: 'coordinates'}, tripSegmentIndex, gpsPoints);

0 commit comments

Comments
 (0)