mirror of https://github.com/M66B/FairEmail.git
Removed sent time
This commit is contained in:
parent
a60db12722
commit
4351232b44
|
@ -159,7 +159,6 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
||||||
private TextView tvReplyTo;
|
private TextView tvReplyTo;
|
||||||
private TextView tvCc;
|
private TextView tvCc;
|
||||||
private TextView tvBcc;
|
private TextView tvBcc;
|
||||||
private TextView tvTimeSent;
|
|
||||||
private TextView tvTimeReceived;
|
private TextView tvTimeReceived;
|
||||||
private TextView tvSubjectEx;
|
private TextView tvSubjectEx;
|
||||||
private TextView tvKeywords;
|
private TextView tvKeywords;
|
||||||
|
@ -197,7 +196,6 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
||||||
ivAddContact = itemView.findViewById(R.id.ivAddContact);
|
ivAddContact = itemView.findViewById(R.id.ivAddContact);
|
||||||
tvSize = itemView.findViewById(R.id.tvSize);
|
tvSize = itemView.findViewById(R.id.tvSize);
|
||||||
tvTime = itemView.findViewById(R.id.tvTime);
|
tvTime = itemView.findViewById(R.id.tvTime);
|
||||||
tvTimeSent = itemView.findViewById(R.id.tvTimeSent);
|
|
||||||
tvTimeReceived = itemView.findViewById(R.id.tvTimeReceived);
|
tvTimeReceived = itemView.findViewById(R.id.tvTimeReceived);
|
||||||
ivAnswered = itemView.findViewById(R.id.ivAnswered);
|
ivAnswered = itemView.findViewById(R.id.ivAnswered);
|
||||||
ivAttachments = itemView.findViewById(R.id.ivAttachments);
|
ivAttachments = itemView.findViewById(R.id.ivAttachments);
|
||||||
|
@ -432,7 +430,6 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
||||||
|
|
||||||
if (show_expanded) {
|
if (show_expanded) {
|
||||||
ivExpanderAddress.setImageResource(show_addresses ? R.drawable.baseline_expand_less_24 : R.drawable.baseline_expand_more_24);
|
ivExpanderAddress.setImageResource(show_addresses ? R.drawable.baseline_expand_less_24 : R.drawable.baseline_expand_more_24);
|
||||||
tvTimeSent.setText(message.sent == null ? null : df.format(new Date(message.sent)));
|
|
||||||
tvTimeReceived.setText(df.format(new Date(message.received)));
|
tvTimeReceived.setText(df.format(new Date(message.received)));
|
||||||
|
|
||||||
tvFromEx.setText(MessageHelper.getFormattedAddresses(message.from, true));
|
tvFromEx.setText(MessageHelper.getFormattedAddresses(message.from, true));
|
||||||
|
|
|
@ -381,17 +381,6 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/tvBccTitle"
|
app:layout_constraintStart_toEndOf="@id/tvBccTitle"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvCc" />
|
app:layout_constraintTop_toBottomOf="@id/tvCc" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvTimeSent"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:text="12:34:56"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvBcc" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvTimeReceived"
|
android:id="@+id/tvTimeReceived"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -401,7 +390,7 @@
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvTimeSent" />
|
app:layout_constraintTop_toBottomOf="@id/tvBcc" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvSubjectEx"
|
android:id="@+id/tvSubjectEx"
|
||||||
|
@ -586,7 +575,7 @@
|
||||||
android:id="@+id/grpAddress"
|
android:id="@+id/grpAddress"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
app:constraint_referenced_ids="tvFromExTitle,tvFromEx,tvToTitle,tvTo,tvReplyToTitle,tvReplyTo,tvCcTitle,tvCc,tvBccTitle,tvBcc,tvTimeSent,tvTimeReceived,tvSubjectEx" />
|
app:constraint_referenced_ids="tvFromExTitle,tvFromEx,tvToTitle,tvTo,tvReplyToTitle,tvReplyTo,tvCcTitle,tvCc,tvBccTitle,tvBcc,tvTimeReceived,tvSubjectEx" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
<androidx.constraintlayout.widget.Group
|
||||||
android:id="@+id/grpHeaders"
|
android:id="@+id/grpHeaders"
|
||||||
|
|
|
@ -378,17 +378,6 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/tvBccTitle"
|
app:layout_constraintStart_toEndOf="@id/tvBccTitle"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvCc" />
|
app:layout_constraintTop_toBottomOf="@id/tvCc" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvTimeSent"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:text="12:34:56"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvBcc" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvTimeReceived"
|
android:id="@+id/tvTimeReceived"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -398,7 +387,7 @@
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvTimeSent" />
|
app:layout_constraintTop_toBottomOf="@id/tvBcc" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvSubjectEx"
|
android:id="@+id/tvSubjectEx"
|
||||||
|
@ -583,7 +572,7 @@
|
||||||
android:id="@+id/grpAddress"
|
android:id="@+id/grpAddress"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
app:constraint_referenced_ids="tvFromExTitle,tvFromEx,tvToTitle,tvTo,tvReplyToTitle,tvReplyTo,tvCcTitle,tvCc,tvBccTitle,tvBcc,tvTimeSent,tvTimeReceived,tvSubjectEx" />
|
app:constraint_referenced_ids="tvFromExTitle,tvFromEx,tvToTitle,tvTo,tvReplyToTitle,tvReplyTo,tvCcTitle,tvCc,tvBccTitle,tvBcc,tvTimeReceived,tvSubjectEx" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
<androidx.constraintlayout.widget.Group
|
||||||
android:id="@+id/grpHeaders"
|
android:id="@+id/grpHeaders"
|
||||||
|
|
Loading…
Reference in New Issue