Fix sort order
This commit is contained in:
parent
68425e05d6
commit
49040f2b97
|
@ -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…
Reference in a new issue