1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 22:39:22 +00:00

Can go back to newest posts screen

This commit is contained in:
Pierre HUBERT 2020-05-11 13:53:15 +02:00
parent e7f360c6fc
commit 5c26626f92

View File

@ -1,6 +1,7 @@
import 'package:comunic/helpers/events_helper.dart';
import 'package:comunic/helpers/notifications_helper.dart';
import 'package:comunic/models/count_unread_notifications.dart';
import 'package:comunic/ui/routes/main_route/main_route.dart';
import 'package:comunic/ui/screens/notifications_screen.dart';
import 'package:comunic/ui/screens/unread_conversations_screen.dart';
import 'package:comunic/ui/widgets/safe_state.dart';
@ -57,7 +58,9 @@ class _ComunicTabletAppBarWidgetState
@override
Widget build(BuildContext context) {
return AppBar(
title: Text("Comunic"),
title: GestureDetector(
child: Text("Comunic"),
onTap: () => MainController.of(context).openLatestPostsPage()),
actions: <Widget>[
AppBarCustomDropDownWidget(
key: notificationsDropdownKey,