mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Display the number of unread notifications
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import 'package:comunic/ui/routes/main_route/main_route.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/current_user_panel.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/memberships_panel.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/tablet_navbar_widget.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Main tablet route
|
||||
@ -21,14 +22,7 @@ class _TabletRouteState extends State<TabletRoute> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildAppBar() => AppBar(
|
||||
title: Text("Comunic"),
|
||||
actions: <Widget>[
|
||||
IconButton(icon: Icon(Icons.notifications), onPressed: () {}),
|
||||
IconButton(icon: Icon(Icons.message), onPressed: () {}),
|
||||
PopupMenuButton(itemBuilder: (c) => []),
|
||||
],
|
||||
);
|
||||
Widget _buildAppBar() => ComunicTabletNavbarWidget();
|
||||
|
||||
Widget _buildBody() => Row(
|
||||
children: <Widget>[_buildLeftPane(), _buildRightPane()],
|
||||
|
Reference in New Issue
Block a user