mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 11:33:09 +02:00
Expand sender and subject on expanding message
This commit is contained in:
@@ -742,6 +742,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
private void clearExpanded() {
|
||||
cowner.stop();
|
||||
|
||||
if (compact) {
|
||||
tvFrom.setSingleLine(true);
|
||||
tvSubject.setSingleLine(true);
|
||||
}
|
||||
|
||||
grpAddresses.setVisibility(View.GONE);
|
||||
grpHeaders.setVisibility(View.GONE);
|
||||
grpCalendar.setVisibility(View.GONE);
|
||||
@@ -824,6 +829,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
boolean show_headers = properties.getValue("headers", message.id);
|
||||
boolean show_html = properties.getValue("html", message.id);
|
||||
|
||||
if (compact) {
|
||||
tvFrom.setSingleLine(false);
|
||||
tvSubject.setSingleLine(false);
|
||||
}
|
||||
|
||||
grpAddresses.setVisibility(View.VISIBLE);
|
||||
|
||||
boolean hasFrom = (message.from != null && message.from.length > 0);
|
||||
|
||||
Reference in New Issue
Block a user