fix: More minor fixes
This commit is contained in:
parent
355645555e
commit
48449bbad8
3 changed files with 23 additions and 15 deletions
|
|
@ -26,6 +26,8 @@ extension ClientPresenceExtension on Client {
|
|||
(p.presence?.statusMsg?.isNotEmpty ?? false))
|
||||
.toList(),
|
||||
);
|
||||
|
||||
contactList.sort((a, b) => a.senderId.compareTo(b.senderId));
|
||||
contactList.sort((a, b) => (a.presence.lastActiveAgo?.toDouble() ??
|
||||
double.infinity)
|
||||
.compareTo((b.presence.lastActiveAgo?.toDouble() ?? double.infinity)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue