fix: always start a call on click in grid view (#358)

Grid view doesn't have that clear separation between name and profile picture to be treated separately.

See https://github.com/FossifyOrg/Phone/discussions/356
This commit is contained in:
Naveen Singh
2025-06-06 14:05:06 +05:30
committed by GitHub
parent 4e0eee5ea1
commit 3bd2bc0d25

View File

@@ -366,7 +366,7 @@ class ContactsAdapter(
itemContactFrame.isSelected = selectedKeys.contains(contact.rawId)
itemContactImage.apply {
if (profileIconClick != null) {
if (profileIconClick != null && viewType != VIEW_TYPE_GRID) {
setBackgroundResource(R.drawable.selector_clickable_circle)
setOnClickListener {