diff --git a/packages/neon/neon_notifications/lib/neon_notifications.dart b/packages/neon/neon_notifications/lib/neon_notifications.dart index fb480bb44cb..df92fe23b5a 100644 --- a/packages/neon/neon_notifications/lib/neon_notifications.dart +++ b/packages/neon/neon_notifications/lib/neon_notifications.dart @@ -14,10 +14,10 @@ import 'package:neon_notifications/src/routes.dart'; import 'package:nextcloud/nextcloud.dart'; import 'package:rxdart/rxdart.dart'; -class NotificationsApp extends AppImplementation +class NotificationsApp extends AppImplementation implements // ignore: avoid_implementing_value_types - NotificationsAppInterface { + NotificationsAppInterface { NotificationsApp(); @override @@ -33,7 +33,7 @@ class NotificationsApp extends AppImplementation NotificationsBloc( + NotificationsBlocInterface buildBloc(Account account) => NotificationsBloc( account: account, ); @@ -44,5 +44,5 @@ class NotificationsApp extends AppImplementation getUnreadCounter(NotificationsBloc bloc) => bloc.unreadCounter; + BehaviorSubject getUnreadCounter(NotificationsBlocInterface bloc) => (bloc as NotificationsBloc).unreadCounter; }