diff --git a/lib/services/notifications_manager.dart b/lib/services/notifications_manager.dart index f15d3fc..17a9e42 100644 --- a/lib/services/notifications_manager.dart +++ b/lib/services/notifications_manager.dart @@ -140,7 +140,13 @@ class NotificationsManager extends ChangeNotifier { if (unread.isNotEmpty) { final result = await _loadOlderUnreadNotifications(withListenerNotification); - if (result.getValueOrElse(() => []).isNotEmpty) { + final nonDmAndConnectionNotifications = result + .getValueOrElse(() => []) + .where((n) => + n.type != NotificationType.follow_request && + n.type != NotificationType.direct_message) + .toList(); + if (nonDmAndConnectionNotifications.isNotEmpty) { return result; } }