1 Commits

Author SHA1 Message Date
92d703ec7b Version 2.1.0 versionCode 11 2020-11-28 03:51:20 +01:00
2 changed files with 6 additions and 4 deletions

View File

@ -15,8 +15,8 @@ android {
applicationId "fr.sanchezm.attestationsCovid19"
minSdkVersion 23
targetSdkVersion 30
versionCode 1007
versionName "2.1.1-beta1"
versionCode 11
versionName "2.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@ -76,13 +76,15 @@ dependencies {
// Android X
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
implementation 'androidx.navigation:navigation-fragment:2.3.1'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
implementation 'androidx.navigation:navigation-ui:2.3.1'
// Design
implementation 'com.google.android.material:material:1.2.1'

View File

@ -96,7 +96,7 @@ class AddViewModel(
val dpd = DatePickerDialog(
app,
{ _, yearPicked, monthOfYear, dayOfMonth ->
DatePickerDialog.OnDateSetListener { _, yearPicked, monthOfYear, dayOfMonth ->
birthday.value =
"${getFormattedDayOrMonth(dayOfMonth)}/${getFormattedDayOrMonth(monthOfYear + 1)}/$yearPicked"
},