1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-09-18 21:38:48 +00:00

Fix unread conversations drop down

This commit is contained in:
2021-03-11 18:50:36 +01:00
parent 3257fd865f
commit 8f2574a555
3 changed files with 35 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ import 'package:comunic/models/unread_conversation.dart';
class UnreadConversationsList extends AbstractList<UnreadConversation> {
/// Get the ID of the users included in this list
Set<int> get usersID {
final set = Set();
final set = Set<int>();
forEach((element) => set.addAll(element.message.usersID));
return set;
}