TF-174 Order the ThreadView base on ReceivedAt to uniform with load more
This commit is contained in:
committed by
Dat H. Pham
parent
630758e11a
commit
d8dd5ea31b
@@ -9,8 +9,8 @@ extension PresentationEmailExtension on PresentationEmail {
|
||||
|
||||
int numberOfAllEmailAddress() => to.numberEmailAddress() + cc.numberEmailAddress() + bcc.numberEmailAddress();
|
||||
|
||||
String getEmailDateTime(String newLocale, {String? pattern}) {
|
||||
final emailTime = sentAt ?? receivedAt;
|
||||
String getReceivedAt(String newLocale, {String? pattern}) {
|
||||
final emailTime = receivedAt;
|
||||
if (emailTime != null) {
|
||||
return emailTime.formatDate(
|
||||
pattern: pattern ?? emailTime.value.toLocal().toPattern(),
|
||||
|
||||
Reference in New Issue
Block a user