|
|
@ -461,7 +461,8 @@ class _HomePageState extends State<HomePage> { |
|
|
|
actions: [ |
|
|
|
actions: [ |
|
|
|
if (notificationsAppImplementation.data != null) ...[ |
|
|
|
if (notificationsAppImplementation.data != null) ...[ |
|
|
|
StreamBuilder<int>( |
|
|
|
StreamBuilder<int>( |
|
|
|
stream: notificationsAppImplementation.data!.getUnreadCounter(_appsBloc), |
|
|
|
stream: notificationsAppImplementation.data! |
|
|
|
|
|
|
|
.getUnreadCounter(notificationsAppImplementation.data!.getBloc(account)), |
|
|
|
builder: (final context, final unreadCounterSnapshot) { |
|
|
|
builder: (final context, final unreadCounterSnapshot) { |
|
|
|
final unreadCount = unreadCounterSnapshot.data ?? 0; |
|
|
|
final unreadCount = unreadCounterSnapshot.data ?? 0; |
|
|
|
return IconButton( |
|
|
|
return IconButton( |
|
|
|