diff --git a/lib/ui/screens/authorized_group_page_screen.dart b/lib/ui/screens/authorized_group_page_screen.dart index 0233acf..f000276 100644 --- a/lib/ui/screens/authorized_group_page_screen.dart +++ b/lib/ui/screens/authorized_group_page_screen.dart @@ -8,6 +8,7 @@ import 'package:comunic/ui/widgets/group_following_widget.dart'; import 'package:comunic/ui/widgets/group_icon_widget.dart'; import 'package:comunic/ui/widgets/group_membership_widget.dart'; import 'package:comunic/ui/widgets/like_widget.dart'; +import 'package:comunic/ui/widgets/post_container_widget.dart'; import 'package:comunic/ui/widgets/safe_state.dart'; import 'package:comunic/utils/intl_utils.dart'; import 'package:flutter/material.dart'; @@ -86,23 +87,25 @@ class _AuthorizedGroupPageScreenState @override Widget build(BuildContext context) { - return Column( - children: [ - _buildGroupPageHeader(), - Container( - color: _headerColor, - child: TabBar( - tabs: _tabs.map((e) => e.tab).toList(), - controller: _tabController, + return PostContainer( + child: Column( + children: [ + _buildGroupPageHeader(), + Container( + color: _headerColor, + child: TabBar( + tabs: _tabs.map((e) => e.tab).toList(), + controller: _tabController, + ), ), - ), - Expanded( - child: TabBarView( - controller: _tabController, - children: _tabs.map((e) => e.widget).toList(), + Expanded( + child: TabBarView( + controller: _tabController, + children: _tabs.map((e) => e.widget).toList(), + ), ), - ), - ], + ], + ), ); } @@ -156,8 +159,9 @@ class _AuthorizedGroupPageScreenState _group.isAdmin ? IconButton( icon: Icon(Icons.settings, color: _headerTextColor), - onPressed: () => MainController.of(context) - .push(GroupSettingsScreen(groupID: _group.id))) + onPressed: () => MainController.of(context).push( + GroupSettingsScreen(groupID: _group.id), + canShowAsDialog: true)) : Container(), ], ),