Skip to content

Commit

Permalink
Merge pull request #662 from WideChat/ear_invite_fix
Browse files Browse the repository at this point in the history
do not change text to INVITED
  • Loading branch information
ear-dev authored Aug 26, 2019
2 parents aa34a50 + b5e1c03 commit 35c39ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 35c39ca

Please sign in to comment.