Skip to content

Commit e2f0c5f

Browse files
Count only local pending notifications.
1 parent 85e5310 commit e2f0c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/Notifo.SDK/NotifoMobilePush/NotifoMobilePushImplementation.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ private async Task<ICollection<NotificationDto>> GetPendingNotificationsAsync()
263263
var allNotifications = await Notifications.GetNotificationsAsync();
264264
var pendingNotifications = allNotifications
265265
.Items
266-
.Where(x => !settings.IsNotificationSeen(x.Id) && !x.IsSeen)
266+
.Where(x => !settings.IsNotificationSeen(x.Id))
267267
.OrderBy(x => x.Created)
268268
.ToArray();
269269

0 commit comments

Comments
 (0)