fix: Own presence at top of the list
This commit is contained in:
parent
ec2e302232
commit
ac6fcd1594
|
@ -81,7 +81,7 @@ class _ContactsState extends State<Contacts> {
|
||||||
.toList();
|
.toList();
|
||||||
if (client.presences[client.userID]?.presence?.statusMsg?.isNotEmpty ??
|
if (client.presences[client.userID]?.presence?.statusMsg?.isNotEmpty ??
|
||||||
false) {
|
false) {
|
||||||
contactList.add(client.presences[client.userID]);
|
contactList.insert(0, client.presences[client.userID]);
|
||||||
}
|
}
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
|
Loading…
Reference in New Issue