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
@@ -62,7 +62,7 @@ class ThreadController extends BaseController {
|
||||
inMailbox: mailboxDashBoardController.selectedMailbox.value?.id);
|
||||
|
||||
Set<Comparator>? get _sortOrder => Set()
|
||||
..add(EmailComparator(EmailComparatorProperty.sentAt)
|
||||
..add(EmailComparator(EmailComparatorProperty.receivedAt)
|
||||
..setIsAscending(false));
|
||||
|
||||
AccountId? get _accountId => mailboxDashBoardController.accountId.value;
|
||||
|
||||
@@ -99,7 +99,7 @@ class EmailTileBuilder {
|
||||
Padding(
|
||||
padding: EdgeInsets.only(right: 4),
|
||||
child: Text(
|
||||
'${_presentationEmail.getEmailDateTime(Localizations.localeOf(_context).toLanguageTag())}',
|
||||
'${_presentationEmail.getReceivedAt(Localizations.localeOf(_context).toLanguageTag())}',
|
||||
maxLines: 1,
|
||||
overflow:TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user