Skip to content

Commit 46f03ff

Browse files
committed
Fixed animation issues
1 parent b86638c commit 46f03ff

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ class ContactsAdapter(
366366
itemContactFrame.isSelected = selectedKeys.contains(contact.rawId)
367367

368368
itemContactImage.apply {
369-
setBackgroundResource(R.drawable.selector_clickable_circle)
370-
371369
if (profileIconClick != null) {
370+
setBackgroundResource(R.drawable.selector_clickable_circle)
371+
372372
setOnClickListener {
373373
if (!actModeCallback.isSelectable) {
374374
profileIconClick.invoke(contact)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,9 @@ class RecentCallsAdapter(
503503
SimpleContactsHelper(root.context).loadContactImage(call.photoUri, itemRecentsImage, call.name)
504504

505505
itemRecentsImage.apply {
506-
setBackgroundResource(R.drawable.selector_clickable)
507-
508506
if (profileIconClick != null) {
507+
setBackgroundResource(R.drawable.selector_clickable_circle)
508+
509509
setOnClickListener {
510510
if (!actModeCallback.isSelectable) {
511511
profileIconClick.invoke(call)

0 commit comments

Comments
 (0)