Add profile
This commit is contained in:
parent
54a57b65ab
commit
a914e5e0fd
@ -33,7 +33,12 @@ class ConfigDao(private val savePath: String) {
|
|||||||
_config.value?.versionName = BuildConfig.VERSION_NAME
|
_config.value?.versionName = BuildConfig.VERSION_NAME
|
||||||
} else {
|
} else {
|
||||||
_config.value =
|
_config.value =
|
||||||
Config(BuildConfig.DB_VERSION, BuildConfig.VERSION_NAME, BuildConfig.VERSION_CODE)
|
Config(
|
||||||
|
BuildConfig.DB_VERSION,
|
||||||
|
BuildConfig.VERSION_NAME,
|
||||||
|
BuildConfig.VERSION_CODE,
|
||||||
|
-1
|
||||||
|
)
|
||||||
save()
|
save()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textPostalAddress|textCapWords"
|
android:inputType="number|textCapWords"
|
||||||
android:text="@={viewModel.address}" />
|
android:text="@={viewModel.address}" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user