From b5e1c03389e19fdcd619c08988b2dcb4358fcf05 Mon Sep 17 00:00:00 2001 From: erosenthal Date: Mon, 26 Aug 2019 12:33:53 -0400 Subject: [PATCH] do not change text to INVITED --- .../android/contacts/adapter/ContactsRecyclerViewAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }