Skip to content

Commit

Permalink
FIX!!
Browse files Browse the repository at this point in the history
  • Loading branch information
jisungbin committed Feb 3, 2022
1 parent 94c667d commit 239310d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ContactAdpater : RecyclerView.Adapter<ContactAdpater.ContactViewHolder>()
fun bind(contact: Contact) {
binding.contact = contact
binding.cvContact.setOnClickListener {
val intent = Intent(Intent.ACTION_DIAL, Uri.parse("tel:${contact.name}"))
val intent = Intent(Intent.ACTION_DIAL, Uri.parse("tel:${contact.number}"))
binding.root.context.startActivity(intent)
}
}
Expand Down

0 comments on commit 239310d

Please sign in to comment.