create a new Contact at pressing FAB

This commit is contained in:
tibbi 2017-12-11 21:05:46 +01:00
parent 2f815dfe38
commit 5b514d5b92
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ class ContactActivity : SimpleActivity() {
private fun setupNewContact() { private fun setupNewContact() {
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE) window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE)
supportActionBar?.title = resources.getString(R.string.new_contact) supportActionBar?.title = resources.getString(R.string.new_contact)
contact = Contact(0, "", "", "", "")
} }
private fun applyPhotoPlaceholder() { private fun applyPhotoPlaceholder() {