From 621efae92b76a3d9c917180ad91b651a20df8df4 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 24 Apr 2021 10:21:24 +0200 Subject: [PATCH] Add posts route --- lib/forez/ui/routes/forez_route.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/forez/ui/routes/forez_route.dart b/lib/forez/ui/routes/forez_route.dart index a52ec34..ba34e33 100644 --- a/lib/forez/ui/routes/forez_route.dart +++ b/lib/forez/ui/routes/forez_route.dart @@ -5,6 +5,7 @@ import 'package:comunic/ui/routes/main_route/main_route.dart'; import 'package:comunic/ui/routes/main_route/page_info.dart'; import 'package:comunic/ui/screens/conversations_list_screen.dart'; import 'package:comunic/ui/screens/group_sections/forez_presence_section.dart'; +import 'package:comunic/ui/screens/group_sections/group_posts_section.dart'; import 'package:comunic/ui/widgets/safe_state.dart'; import 'package:comunic/ui/widgets/status_widget.dart'; import 'package:comunic/ui/widgets/tab_transition_widget.dart'; @@ -111,6 +112,13 @@ class _ForezRouteBodyState extends SafeState { } final _list = <_Tab>[ + // Posts tab + _Tab( + icon: Icons.auto_stories, + title: tr("Posts"), + widget: () => GroupPostsSection(group: forezGroup), + ), + // Presence tab _Tab( icon: Icons.calendar_today,