1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Can get older posts on latest posts page

This commit is contained in:
2019-06-15 16:25:06 +02:00
parent f1b92c8dcd
commit 5c37aae000
4 changed files with 41 additions and 8 deletions

View File

@ -20,6 +20,7 @@ class _NewestPostsScreenState extends State<NewestPostsScreen> {
Widget build(BuildContext context) {
return PostsListWidget(
getPostsList: _postsHelper.getLatest,
getOlder: (f) => _postsHelper.getLatest(from: f - 1),
showPostsTarget: true,
);
}