Skip to content

Commit 421916e

Browse files
committed
Merge tag 'v2.1.0' into develop
2 parents 6c330d6 + a88c719 commit 421916e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ android {
2828
applicationId "com.runnect.runnect"
2929
minSdk 28
3030
targetSdk 35
31-
versionCode 22
32-
versionName "2.0.1"
31+
versionCode 24
32+
versionName "2.1.0"
3333

3434
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3535
buildConfigField "String", "RUNNECT_DEV_URL", properties["RUNNECT_DEV_URL"]

app/src/main/java/com/runnect/runnect/presentation/draw/DrawActivity.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -704,13 +704,13 @@ class DrawActivity : BindingActivity<ActivityDrawBinding>(R.layout.activity_draw
704704
}
705705

706706
private fun updateRouteMarkerData() {
707-
touchList.removeLast()
707+
touchList.removeAt(touchList.lastIndex)
708708
markerList.last().map = null
709-
markerList.removeLast()
709+
markerList.removeAt(markerList.lastIndex)
710710
}
711711

712712
private fun updateRouteLineData() {
713-
coords.removeLast()
713+
coords.removeAt(coords.lastIndex)
714714
if (coords.size >= LEAST_CONDITION_CREATE_PATH) {
715715
path.coords = coords
716716
path.map = naverMap
@@ -721,8 +721,8 @@ class DrawActivity : BindingActivity<ActivityDrawBinding>(R.layout.activity_draw
721721

722722
private fun reCalculateDistance() {
723723
if (calcDistanceList.isNotEmpty() && sumList.isNotEmpty()) {
724-
calcDistanceList.removeLast()
725-
sumList.removeLast()
724+
calcDistanceList.removeAt(calcDistanceList.lastIndex)
725+
sumList.removeAt(sumList.lastIndex)
726726
}
727727
}
728728

0 commit comments

Comments
 (0)