|
|
@ -742,6 +742,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
private void clearExpanded() {
|
|
|
|
private void clearExpanded() {
|
|
|
|
cowner.stop();
|
|
|
|
cowner.stop();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (compact) {
|
|
|
|
|
|
|
|
tvFrom.setSingleLine(true);
|
|
|
|
|
|
|
|
tvSubject.setSingleLine(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
grpAddresses.setVisibility(View.GONE);
|
|
|
|
grpAddresses.setVisibility(View.GONE);
|
|
|
|
grpHeaders.setVisibility(View.GONE);
|
|
|
|
grpHeaders.setVisibility(View.GONE);
|
|
|
|
grpCalendar.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_headers = properties.getValue("headers", message.id);
|
|
|
|
boolean show_html = properties.getValue("html", message.id);
|
|
|
|
boolean show_html = properties.getValue("html", message.id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (compact) {
|
|
|
|
|
|
|
|
tvFrom.setSingleLine(false);
|
|
|
|
|
|
|
|
tvSubject.setSingleLine(false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
grpAddresses.setVisibility(View.VISIBLE);
|
|
|
|
grpAddresses.setVisibility(View.VISIBLE);
|
|
|
|
|
|
|
|
|
|
|
|
boolean hasFrom = (message.from != null && message.from.length > 0);
|
|
|
|
boolean hasFrom = (message.from != null && message.from.length > 0);
|
|
|
|