fix: Own presence at top of the list
This commit is contained in:
parent
4b541145ab
commit
ad2b523e3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue