File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/main/java/com/runnect/runnect/presentation/draw Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff 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" ]
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments