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(''),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: example
|
||||
description: A new Flutter project.
|
||||
version: 1.0.78+80
|
||||
version: 1.0.80+82
|
||||
|
||||
environment:
|
||||
sdk: ">=2.2.2 <3.0.0"
|
||||
|
||||
Reference in New Issue
Block a user