allow clicking on Create New Contact at select contact screen

This commit is contained in:
tibbi
2019-12-06 21:26:10 +01:00
parent 21cd58f0bb
commit ba7e7e4ba0
9 changed files with 17 additions and 30 deletions

View File

@ -560,8 +560,8 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
}
}
override fun contactClicked(contact: Contact) {
handleGenericContactClick(contact)
override fun contactClicked(contact: Contact?, isCreateNewContact: Boolean) {
handleGenericContactClick(contact!!)
}
private fun getAllFragments() = arrayListOf(contacts_fragment, favorites_fragment, groups_fragment)