Skip to content

Commit

Permalink
- Bump version to 1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Android1500 committed Nov 3, 2022
1 parent 5f39656 commit 59801a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ plugins {
id 'kotlin-parcelize'
}

def tagName = 'v1.1.6'
def tagName = 'v1.1.7'

android {
compileSdk 33
defaultConfig {
applicationId "com.android1500.gpssetter"
minSdk 27
targetSdk 33
versionCode 116
versionName "1.1.6"
versionCode 117
versionName "1.1.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String", "TAG_NAME", "\"${tagName}\"")
}
Expand Down
7 changes: 3 additions & 4 deletions app/src/main/java/com/android1500/gpssetter/MapsActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,9 @@ class MapsActivity : AppCompatActivity(), OnMapReadyCallback, GoogleMap.OnMapCli
progressBar.cancel()
moveMapToNewLocation(true)
}
//
is SearchProgress.Fail -> {
showToast(value.error!!)
progressBar.cancel()
showToast(value.error!!)
}

}
Expand Down Expand Up @@ -475,10 +474,10 @@ class MapsActivity : AppCompatActivity(), OnMapReadyCallback, GoogleMap.OnMapCli
}


private fun isRegexMatch(str: String?): Boolean {
private fun isRegexMatch(input: String?): Boolean {
return Pattern.matches(
"[-+]?\\d{1,3}([.]\\d+)?, *[-+]?\\d{1,3}([.]\\d+)?",
str!!
input!!
)
}

Expand Down

0 comments on commit 59801a4

Please sign in to comment.