replacing sort by channelStateSort since it's deprecated
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class _ChannelGridPageState extends State<ChannelGridPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@@ -654,7 +654,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
+1
-1
@@ -267,7 +267,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
+1
-1
@@ -105,7 +105,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ class _ChannelGridPageState extends State<ChannelGridPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
|||||||
'members',
|
'members',
|
||||||
[StreamChat.of(context).currentUser!.id],
|
[StreamChat.of(context).currentUser!.id],
|
||||||
),
|
),
|
||||||
sort: const [SortOption('last_message_at')],
|
channelStateSort: const [SortOption('last_message_at')],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
Reference in New Issue
Block a user