diff --git a/app/src/main/java/chat/rocket/android/contacts/adapter/ContactsRecyclerViewAdapter.kt b/app/src/main/java/chat/rocket/android/contacts/adapter/ContactsRecyclerViewAdapter.kt index 9c6c3b7a38..e26233c7b1 100644 --- a/app/src/main/java/chat/rocket/android/contacts/adapter/ContactsRecyclerViewAdapter.kt +++ b/app/src/main/java/chat/rocket/android/contacts/adapter/ContactsRecyclerViewAdapter.kt @@ -120,10 +120,10 @@ class ContactsRecyclerViewAdapter( val inviteButton: Button = holder.itemView.findViewById(R.id.invite_contact) inviteButton.setOnClickListener { view -> run { - inviteButton.setText(R.string.Invited) if (Constants.INVITE_VIA_SHARE_ONLY) { shareApp() } else { + inviteButton.setText(R.string.Invited) presenter.inviteWithRealNamePrompt(contact, frag.context) } }