...
This commit is contained in:
parent
20a41d27e1
commit
ebfe02cf62
@ -70,7 +70,7 @@ internal class ContactAdapter (
|
||||
holder.view.root.apply {
|
||||
/* on click - open app */
|
||||
setOnClickListener {
|
||||
context.startActivity(Intent(Intent.ACTION_CALL, Uri.parse("tel://${item.phoneNumber}")))
|
||||
context.startActivity(Intent(Intent.ACTION_DIAL, Uri.parse("tel://${item.phoneNumber}")))
|
||||
}
|
||||
|
||||
/* on long click - open app menu */
|
||||
|
||||
@ -253,7 +253,7 @@ internal class QuickAccess : BottomSheetDialogFragment() {
|
||||
} else {
|
||||
/* make phone call */
|
||||
lActivity!!.startActivity(
|
||||
Intent(Intent.ACTION_CALL, Uri.parse("tel:$intentString"))
|
||||
Intent(Intent.ACTION_DIAL, Uri.parse("tel:$intentString"))
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user