Skip to content

Commit 3bd2bc0

Browse files
authored
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
1 parent 4e0eee5 commit 3bd2bc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/kotlin/org/fossify/phone/adapters/ContactsAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class ContactsAdapter(
366366
itemContactFrame.isSelected = selectedKeys.contains(contact.rawId)
367367

368368
itemContactImage.apply {
369-
if (profileIconClick != null) {
369+
if (profileIconClick != null && viewType != VIEW_TYPE_GRID) {
370370
setBackgroundResource(R.drawable.selector_clickable_circle)
371371

372372
setOnClickListener {

0 commit comments

Comments
 (0)