This commit is contained in:
lunaticbum 2024-08-14 17:50:10 +09:00
parent 20a41d27e1
commit ebfe02cf62
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ internal class ContactAdapter (
holder.view.root.apply { holder.view.root.apply {
/* on click - open app */ /* on click - open app */
setOnClickListener { 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 */ /* on long click - open app menu */

View File

@ -253,7 +253,7 @@ internal class QuickAccess : BottomSheetDialogFragment() {
} else { } else {
/* make phone call */ /* make phone call */
lActivity!!.startActivity( lActivity!!.startActivity(
Intent(Intent.ACTION_CALL, Uri.parse("tel:$intentString")) Intent(Intent.ACTION_DIAL, Uri.parse("tel:$intentString"))
) )
} }
} }