1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Improve scrolling of Group Page

This commit is contained in:
Pierre HUBERT 2020-04-16 08:43:41 +02:00
parent cf5b1180a9
commit d6f0147339

View File

@ -35,11 +35,11 @@ class _AuthorizedGroupPageScreenState extends State<AuthorizedGroupPageScreen> {
@override
Widget build(BuildContext context) {
return Column(
children: <Widget>[
_buildGroupPageHeader(),
Expanded(child: _buildGroupPagePostsList())
],
return RefreshIndicator(
onRefresh: () => widget.needRefresh(),
child: ListView(
children: <Widget>[_buildGroupPageHeader(), _buildGroupPagePostsList()],
),
);
}
@ -90,6 +90,7 @@ class _AuthorizedGroupPageScreenState extends State<AuthorizedGroupPageScreen> {
showPostsTarget: false,
userNamesClickable: true,
getOlder: (from) => PostsHelper().getGroupPosts(_group.id, from: from),
buildListView: false,
);
}
}