use correct response model
This commit is contained in:
@@ -139,6 +139,12 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
||||
r'$in': [user.id]
|
||||
}
|
||||
},
|
||||
sortOptions: [
|
||||
SortOption(
|
||||
'created_at',
|
||||
direction: SortOption.ASC,
|
||||
),
|
||||
],
|
||||
paginationParams: PaginationParams(limit: 20),
|
||||
onItemTap: (message) {},
|
||||
)
|
||||
|
||||
@@ -78,7 +78,7 @@ class SearchTextField extends StatelessWidget {
|
||||
Future.microtask(
|
||||
() => [
|
||||
controller.clear(),
|
||||
onChanged(''),
|
||||
if (onChanged != null) onChanged(''),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user