fix timeline sorting
This commit is contained in:
parent
13c2a4062b
commit
1834ae2c5b
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class RoomChatController extends AsyncNotifier<IList<Event>> {
|
|||
}
|
||||
|
||||
return room.timeline
|
||||
.toEntryIList(compare: (a, b) => (a?.key ?? 0).compareTo(b?.key ?? 0))
|
||||
.toEntryIList(compare: (a, b) => (b?.key ?? 0).compareTo(a?.key ?? 0))
|
||||
.map((entry) {
|
||||
if (entry.value == null) return null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue