1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59: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 @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Column( return RefreshIndicator(
children: <Widget>[ onRefresh: () => widget.needRefresh(),
_buildGroupPageHeader(), child: ListView(
Expanded(child: _buildGroupPagePostsList()) children: <Widget>[_buildGroupPageHeader(), _buildGroupPagePostsList()],
], ),
); );
} }
@ -90,6 +90,7 @@ class _AuthorizedGroupPageScreenState extends State<AuthorizedGroupPageScreen> {
showPostsTarget: false, showPostsTarget: false,
userNamesClickable: true, userNamesClickable: true,
getOlder: (from) => PostsHelper().getGroupPosts(_group.id, from: from), getOlder: (from) => PostsHelper().getGroupPosts(_group.id, from: from),
buildListView: false,
); );
} }
} }