mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
Merge branch 'main' into adb/issue-3841
This commit is contained in:
commit
dda5efedc4
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
# Delta Chat Android Changelog
|
||||
|
||||
## Unreleased
|
||||
|
||||
* hide contact email addresses in search results
|
||||
|
||||
## v2.8.0
|
||||
|
||||
* Profiles focus on recognizing contacts
|
||||
|
|
|
@ -134,6 +134,7 @@ public class ConversationListItem extends RelativeLayout
|
|||
this.fromView.setText(recipient, state!=DcMsg.DC_STATE_IN_FRESH);
|
||||
}
|
||||
|
||||
subjectView.setVisibility(VISIBLE);
|
||||
this.subjectView.setText(thread.getDisplayBody());
|
||||
this.subjectView.setTypeface(state==DcMsg.DC_STATE_IN_FRESH ? BOLD_TYPEFACE : LIGHT_TYPEFACE);
|
||||
this.subjectView.setTextColor(state==DcMsg.DC_STATE_IN_FRESH ? ThemeUtil.getThemedColor(getContext(), R.attr.conversation_list_item_unread_color)
|
||||
|
@ -177,7 +178,7 @@ public class ConversationListItem extends RelativeLayout
|
|||
|
||||
fromView.setText(getHighlightedSpan(contact.getDisplayName(), highlightSubstring));
|
||||
fromView.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);
|
||||
subjectView.setText(getHighlightedSpan(contact.getAddr(), highlightSubstring));
|
||||
subjectView.setVisibility(GONE);
|
||||
dateView.setText("");
|
||||
dateView.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);
|
||||
archivedBadgeView.setVisibility(GONE);
|
||||
|
@ -201,6 +202,7 @@ public class ConversationListItem extends RelativeLayout
|
|||
|
||||
fromView.setText(recipient, true);
|
||||
fromView.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);
|
||||
subjectView.setVisibility(VISIBLE);
|
||||
subjectView.setText(getHighlightedSpan(messageResult.getSummarytext(512), highlightSubstring));
|
||||
|
||||
long timestamp = messageResult.getTimestamp();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue