mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Show banner in tablet mode
This commit is contained in:
parent
94ae3434e4
commit
61e279f719
@ -3,6 +3,7 @@ import 'package:comunic/ui/dialogs/screen_dialog.dart';
|
||||
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/newest_posts.dart';
|
||||
import 'package:comunic/ui/widgets/banner_widget.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/calls/calls_area.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/conversations/conversations_area_widget.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/current_user_panel.dart';
|
||||
@ -79,7 +80,12 @@ class _TabletRouteState extends MainController {
|
||||
Widget _buildRightPane() => Container(
|
||||
key: currentPage.key,
|
||||
width: MediaQuery.of(context).size.width - _SideBarSize,
|
||||
child: currentPage.child,
|
||||
child: Column(
|
||||
children: [
|
||||
BannerWidget(),
|
||||
Expanded(child: currentPage.child),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@override
|
||||
|
Loading…
Reference in New Issue
Block a user