Skip to content

Commit 59801a4

Browse files
committed
- Bump version to 1.1.7
1 parent 5f39656 commit 59801a4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ plugins {
77
id 'kotlin-parcelize'
88
}
99

10-
def tagName = 'v1.1.6'
10+
def tagName = 'v1.1.7'
1111

1212
android {
1313
compileSdk 33
1414
defaultConfig {
1515
applicationId "com.android1500.gpssetter"
1616
minSdk 27
1717
targetSdk 33
18-
versionCode 116
19-
versionName "1.1.6"
18+
versionCode 117
19+
versionName "1.1.7"
2020
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2121
buildConfigField("String", "TAG_NAME", "\"${tagName}\"")
2222
}

app/src/main/java/com/android1500/gpssetter/MapsActivity.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,9 @@ class MapsActivity : AppCompatActivity(), OnMapReadyCallback, GoogleMap.OnMapCli
269269
progressBar.cancel()
270270
moveMapToNewLocation(true)
271271
}
272-
//
273272
is SearchProgress.Fail -> {
274-
showToast(value.error!!)
275273
progressBar.cancel()
274+
showToast(value.error!!)
276275
}
277276

278277
}
@@ -475,10 +474,10 @@ class MapsActivity : AppCompatActivity(), OnMapReadyCallback, GoogleMap.OnMapCli
475474
}
476475

477476

478-
private fun isRegexMatch(str: String?): Boolean {
477+
private fun isRegexMatch(input: String?): Boolean {
479478
return Pattern.matches(
480479
"[-+]?\\d{1,3}([.]\\d+)?, *[-+]?\\d{1,3}([.]\\d+)?",
481-
str!!
480+
input!!
482481
)
483482
}
484483

0 commit comments

Comments
 (0)