fix #34, allow adding new people to a conversation

This commit is contained in:
tibbi 2020-05-23 18:38:36 +02:00
parent 5ab95c00fd
commit d8e2a774e3
2 changed files with 7 additions and 2 deletions

View file

@ -238,7 +238,7 @@ class ThreadActivity : SimpleActivity() {
}
}
confirm_inserted_number.setOnClickListener {
confirm_inserted_number?.setOnClickListener {
val number = add_contact_or_number.value
val contact = SimpleContact(number.hashCode(), number.hashCode(), number, "", number)
addSelectedContact(contact)