mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 14:59:22 +00:00
Display the list of notifications in the dropdown
This commit is contained in:
parent
24e08d63f8
commit
de063bd797
@ -1,9 +1,9 @@
|
|||||||
import 'package:comunic/helpers/events_helper.dart';
|
import 'package:comunic/helpers/events_helper.dart';
|
||||||
import 'package:comunic/helpers/notifications_helper.dart';
|
import 'package:comunic/helpers/notifications_helper.dart';
|
||||||
import 'package:comunic/models/count_unread_notifications.dart';
|
import 'package:comunic/models/count_unread_notifications.dart';
|
||||||
|
import 'package:comunic/ui/screens/notifications_screen.dart';
|
||||||
import 'package:comunic/ui/widgets/safe_state.dart';
|
import 'package:comunic/ui/widgets/safe_state.dart';
|
||||||
import 'package:comunic/ui/widgets/tablet_mode/appbar_custom_dropdown_widget.dart';
|
import 'package:comunic/ui/widgets/tablet_mode/appbar_custom_dropdown_widget.dart';
|
||||||
import 'package:comunic/utils/ui_utils.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
/// Comunic tablet AppBar widget
|
/// Comunic tablet AppBar widget
|
||||||
@ -62,7 +62,10 @@ class _ComunicTabletAppBarWidgetState
|
|||||||
key: notificationsDropdownKey,
|
key: notificationsDropdownKey,
|
||||||
icon: Icon(Icons.notifications),
|
icon: Icon(Icons.notifications),
|
||||||
notificationsBadge: _unreadNotifications.notifications,
|
notificationsBadge: _unreadNotifications.notifications,
|
||||||
onBuildOverlay: (c) => buildCenteredProgressBar(),
|
onBuildOverlay: (c) => Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: NotificationsScreen(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
AppBarCustomDropDownWidget(
|
AppBarCustomDropDownWidget(
|
||||||
key: conversationsDropdownKey,
|
key: conversationsDropdownKey,
|
||||||
|
Loading…
Reference in New Issue
Block a user