replacing sort by channelStateSort since it's deprecated

This commit is contained in:
Enzo Conty
2023-02-08 14:44:14 +01:00
committed by GitHub
parent 4563abaaef
commit e6e311bfcb
11 changed files with 12 additions and 12 deletions
@@ -104,7 +104,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
'members',
[StreamChat.of(context).currentUser!.id],
),
sort: const [SortOption('last_message_at')],
channelStateSort: const [SortOption('last_message_at')],
);
@override