bump version number, reduce size of app.
This commit is contained in:
@@ -10,15 +10,16 @@ android {
|
|||||||
applicationId "me.zobrist.tichucounter"
|
applicationId "me.zobrist.tichucounter"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 2
|
versionCode 3
|
||||||
versionName "1.0.0Beta1"
|
versionName "1.0.0Beta2"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,7 +125,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
currentRound.scoreB = 0
|
currentRound.scoreB = 0
|
||||||
inputTeamB.setText(currentRound.scoreB.toString())
|
inputTeamB.setText(currentRound.scoreB.toString())
|
||||||
100
|
100
|
||||||
|
|
||||||
}
|
}
|
||||||
updateOnChange = false
|
updateOnChange = false
|
||||||
inputTeamA.setText(currentRound.scoreA.toString())
|
inputTeamA.setText(currentRound.scoreA.toString())
|
||||||
@@ -159,8 +158,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
}
|
}
|
||||||
updateOnChange = false
|
updateOnChange = false
|
||||||
inputTeamA.setText(currentRound.scoreA.toString())
|
inputTeamA.setText(currentRound.scoreA.toString())
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inputTeamB.isFocused) {
|
if (inputTeamB.isFocused) {
|
||||||
@@ -281,16 +278,13 @@ class MainActivity : AppCompatActivity() {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
updateView()
|
updateView()
|
||||||
|
|
||||||
|
|
||||||
inputTeamA.text.clear()
|
inputTeamA.text.clear()
|
||||||
inputTeamB.text.clear()
|
inputTeamB.text.clear()
|
||||||
disableSubmitButton()
|
disableSubmitButton()
|
||||||
|
|
||||||
scrollViewHistory.fullScroll(ScrollView.FOCUS_DOWN)
|
scrollViewHistory.fullScroll(ScrollView.FOCUS_DOWN)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -397,8 +391,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
}
|
}
|
||||||
inputTeamB.text.append(toAppend)
|
inputTeamB.text.append(toAppend)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun enableSubmitButton() {
|
private fun enableSubmitButton() {
|
||||||
|
|||||||
Reference in New Issue
Block a user