diff --git a/Mastodon/In Progress New Layout and Datamodel/GroupedNotificationFeedLoader.swift b/Mastodon/In Progress New Layout and Datamodel/GroupedNotificationFeedLoader.swift index 5bd81eb1d..ffc2d4fa7 100644 --- a/Mastodon/In Progress New Layout and Datamodel/GroupedNotificationFeedLoader.swift +++ b/Mastodon/In Progress New Layout and Datamodel/GroupedNotificationFeedLoader.swift @@ -160,7 +160,7 @@ final public class GroupedNotificationFeedLoader { private func checkForDuplicates(_ rowViewModels: [NotificationRowViewModel]) -> [NotificationRowViewModel] { var added = Set() var deduped = [NotificationRowViewModel]() - for (i, model) in rowViewModels.enumerated() { + for model in rowViewModels { let id = model.identifier.id if added.contains(id) { continue