mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Display the list of unread conversations
This commit is contained in:
@ -2,6 +2,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/screens/notifications_screen.dart';
|
||||
import 'package:comunic/ui/screens/unread_conversations_screen.dart';
|
||||
import 'package:comunic/ui/widgets/safe_state.dart';
|
||||
import 'package:comunic/ui/widgets/tablet_mode/appbar_custom_dropdown_widget.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@ -71,13 +72,7 @@ class _ComunicTabletAppBarWidgetState
|
||||
key: conversationsDropdownKey,
|
||||
icon: Icon(Icons.message),
|
||||
notificationsBadge: _unreadNotifications.conversations,
|
||||
onBuildOverlay: (c) => Center(
|
||||
child: RaisedButton(
|
||||
child: Text("Close"),
|
||||
onPressed: () =>
|
||||
conversationsDropdownKey.currentState.toggleOverlay(),
|
||||
),
|
||||
),
|
||||
onBuildOverlay: (c) => UnreadConversationsScreen(),
|
||||
),
|
||||
PopupMenuButton(itemBuilder: (c) => []),
|
||||
],
|
||||
|
Reference in New Issue
Block a user