Fix sort order
This commit is contained in:
parent
8139b11810
commit
4096b824ba
1 changed files with 2 additions and 2 deletions
|
|
@ -445,8 +445,8 @@ class _ChatListState extends State<ChatList> {
|
|||
?.statusMsg !=
|
||||
null
|
||||
? 1
|
||||
: a.lastEvent.originServerTs.compareTo(
|
||||
b.lastEvent.originServerTs));
|
||||
: b.lastEvent.originServerTs.compareTo(
|
||||
a.lastEvent.originServerTs));
|
||||
return ListView.separated(
|
||||
controller: _scrollController,
|
||||
separatorBuilder:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue