mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Add posts route
This commit is contained in:
parent
44b6fb65bc
commit
621efae92b
@ -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/routes/main_route/page_info.dart';
|
||||||
import 'package:comunic/ui/screens/conversations_list_screen.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/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/safe_state.dart';
|
||||||
import 'package:comunic/ui/widgets/status_widget.dart';
|
import 'package:comunic/ui/widgets/status_widget.dart';
|
||||||
import 'package:comunic/ui/widgets/tab_transition_widget.dart';
|
import 'package:comunic/ui/widgets/tab_transition_widget.dart';
|
||||||
@ -111,6 +112,13 @@ class _ForezRouteBodyState extends SafeState<ForezRouteBody> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final _list = <_Tab>[
|
final _list = <_Tab>[
|
||||||
|
// Posts tab
|
||||||
|
_Tab(
|
||||||
|
icon: Icons.auto_stories,
|
||||||
|
title: tr("Posts"),
|
||||||
|
widget: () => GroupPostsSection(group: forezGroup),
|
||||||
|
),
|
||||||
|
|
||||||
// Presence tab
|
// Presence tab
|
||||||
_Tab(
|
_Tab(
|
||||||
icon: Icons.calendar_today,
|
icon: Icons.calendar_today,
|
||||||
|
Loading…
Reference in New Issue
Block a user