Skip to content

Commit 1a53e76

Browse files
committed
feat : mission에서 처음일때도 personCurrentLocation 업데이트하기
1 parent d5922ad commit 1a53e76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

presentation/src/main/java/com/stop/ui/mission/MissionFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ class MissionFragment : Fragment(), MissionHandler {
141141
if (index == 1) {
142142
initMarker(userLocation)
143143
beforeLocation = userLocation
144+
personCurrentLocation = userLocation
144145
} else if (index > 1) {
145146
drawNowLocationLine(TMapPoint(userLocation.latitude, userLocation.longitude), TMapPoint(beforeLocation.latitude, beforeLocation.longitude))
146147
personCurrentLocation = userLocation

0 commit comments

Comments
 (0)