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:
parent
cf5b1180a9
commit
d6f0147339
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user