Skip to content

Commit 0c75e65

Browse files
mcgintymoxie0
authored andcommitted
bring back the ripple when clicking on preview
Closes signalapp#4506 // FREEBIE
1 parent d3000f3 commit 0c75e65

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

res/layout/conversation_list_item_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
app:backgroundColorHint="?conversation_background"
8484
android:visibility="gone"
8585
tools:src="@drawable/ic_video_light"
86-
tools:visibility="visible" />
86+
tools:visibility="visible" />
8787

8888
<TextView android:id="@id/date"
8989
android:layout_marginLeft="3dip"

src/org/thoughtcrime/securesms/ConversationListItem.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,7 @@ protected void onFinishInflate() {
9494
this.dateView = (TextView) findViewById(R.id.date);
9595
this.contactPhotoImage = (AvatarImageView) findViewById(R.id.contact_photo_image);
9696
this.thumbnailView = (ThumbnailView) findViewById(R.id.thumbnail);
97-
98-
this.thumbnailView.setOnClickListener(new View.OnClickListener() {
99-
@Override
100-
public void onClick(View v) {
101-
ConversationListItem.this.performClick();
102-
}
103-
});
97+
thumbnailView.setClickable(false);
10498
}
10599

106100
public void set(@NonNull MasterSecret masterSecret, @NonNull ThreadRecord thread,

0 commit comments

Comments
 (0)