mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can click on user account image for posts to open user page
This commit is contained in:
@ -20,15 +20,18 @@ class PostsListWidget extends StatefulWidget {
|
||||
final Future<PostsList> Function() getPostsList;
|
||||
final bool showPostsTarget;
|
||||
final bool buildListView;
|
||||
final bool userNamesClickable;
|
||||
|
||||
const PostsListWidget({
|
||||
Key key,
|
||||
@required this.getPostsList,
|
||||
@required this.showPostsTarget,
|
||||
this.userNamesClickable = true,
|
||||
this.buildListView = true,
|
||||
}) : assert(getPostsList != null),
|
||||
assert(showPostsTarget != null),
|
||||
assert(buildListView != null),
|
||||
assert(userNamesClickable != null),
|
||||
super(key: key);
|
||||
|
||||
@override
|
||||
@ -106,6 +109,7 @@ class _PostsListWidgetState extends State<PostsListWidget> {
|
||||
groupsInfo: _groups,
|
||||
onDeletedPost: _removePost,
|
||||
showPostTarget: widget.showPostsTarget,
|
||||
userNamesClickable: widget.userNamesClickable,
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user