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
@@ -267,7 +267,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
@@ -105,7 +105,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
@@ -40,7 +40,7 @@ class _ChannelGridPageState extends State<ChannelGridPage> {
'members',
[StreamChat.of(context).currentUser!.id],
),
sort: const [SortOption('last_message_at')],
channelStateSort: const [SortOption('last_message_at')],
);
@override
@@ -44,7 +44,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
@@ -50,7 +50,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