Skip to content

Commit 7be6b0a

Browse files
authored
Merge pull request #3854 from deltachat/adb/fix-archived-link-item
fix archived link item's layout
2 parents fd4a377 + 9a2fdcd commit 7be6b0a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Delta Chat Android Changelog
22

3+
## Unreleased
4+
5+
* fix "Archived" item's layout in chatlit
6+
37
## v2.9.0
48

59
* hide contact email addresses in search results

src/main/java/org/thoughtcrime/securesms/ConversationListItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void bind(@NonNull ThreadRecord thread,
134134
this.fromView.setText(recipient, state!=DcMsg.DC_STATE_IN_FRESH);
135135
}
136136

137-
subjectView.setVisibility(VISIBLE);
137+
subjectView.setVisibility(chatId == DcChat.DC_CHAT_ID_ARCHIVED_LINK? GONE : VISIBLE);
138138
this.subjectView.setText(thread.getDisplayBody());
139139
this.subjectView.setTypeface(state==DcMsg.DC_STATE_IN_FRESH ? BOLD_TYPEFACE : LIGHT_TYPEFACE);
140140
this.subjectView.setTextColor(state==DcMsg.DC_STATE_IN_FRESH ? ThemeUtil.getThemedColor(getContext(), R.attr.conversation_list_item_unread_color)

0 commit comments

Comments
 (0)