From 3bd2bc0d25f597fdb40abcd707ff5831411b7677 Mon Sep 17 00:00:00 2001 From: Naveen Singh <36371707+naveensingh@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:05:06 +0530 Subject: [PATCH] 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 --- .../main/kotlin/org/fossify/phone/adapters/ContactsAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/org/fossify/phone/adapters/ContactsAdapter.kt b/app/src/main/kotlin/org/fossify/phone/adapters/ContactsAdapter.kt index 63a18347..d87da72a 100644 --- a/app/src/main/kotlin/org/fossify/phone/adapters/ContactsAdapter.kt +++ b/app/src/main/kotlin/org/fossify/phone/adapters/ContactsAdapter.kt @@ -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 {