From 49040f2b975c2cd44c1530df2a24d1945ccfc456 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 20 Jun 2020 11:19:10 +0000 Subject: [PATCH] Fix sort order --- lib/views/chat_list.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/chat_list.dart b/lib/views/chat_list.dart index fc44763..a5d492b 100644 --- a/lib/views/chat_list.dart +++ b/lib/views/chat_list.dart @@ -445,8 +445,8 @@ class _ChatListState extends State { ?.statusMsg != null ? 1 - : a.lastEvent.originServerTs.compareTo( - b.lastEvent.originServerTs)); + : b.lastEvent.originServerTs.compareTo( + a.lastEvent.originServerTs)); return ListView.separated( controller: _scrollController, separatorBuilder: