Friend request indicator

This commit is contained in:
2024-08-02 23:15:28 +08:00
parent 425bae9d13
commit 4616f3a3e2
5 changed files with 58 additions and 17 deletions

View File

@ -38,6 +38,9 @@ class _FriendScreenState extends State<FriendScreen>
.cast<Relationship>();
_isBusy = false;
});
relations.friendRequestCount.value =
_relations.where((x) => x.status == 0).length;
}
void promptAddFriend() async {