show unread indicator only for members

This commit is contained in:
Salvatore Giordano
2020-11-10 10:07:28 +01:00
parent 73f5b33489
commit 89fdb47e0e
4 changed files with 31 additions and 18 deletions
+3 -3
View File
@@ -56,9 +56,9 @@ class ChannelListPage extends StatelessWidget {
body: ChannelsBloc(
child: ChannelListView(
filter: {
'members': {
'\$in': [StreamChat.of(context).user.id],
}
// 'members': {
// '\$in': [StreamChat.of(context).user.id],
// }
},
sort: [SortOption('last_message_at')],
pagination: PaginationParams(
+1 -1
View File
@@ -1,7 +1,7 @@
name: example
description: A new Flutter project.
version: 1.0.42+44
version: 1.0.43+45
environment:
sdk: ">=2.2.2 <3.0.0"