From 8f6e22a77ff06d1cd5b36475a52a91ee2407fe26 Mon Sep 17 00:00:00 2001 From: shannon Date: Thu, 6 Mar 2025 12:43:33 -0500 Subject: [PATCH] Remove unused index --- .../GroupedNotificationFeedLoader.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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