From 0a9917de0398555a3b9ca89cee44499db4852354 Mon Sep 17 00:00:00 2001 From: Diogo Date: Tue, 22 Oct 2024 11:47:01 +0100 Subject: [PATCH] bad stash --- apps/ios/Shared/Views/Chat/ReverseList.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ios/Shared/Views/Chat/ReverseList.swift b/apps/ios/Shared/Views/Chat/ReverseList.swift index 7a86753fb7..06a842a4a4 100644 --- a/apps/ios/Shared/Views/Chat/ReverseList.swift +++ b/apps/ios/Shared/Views/Chat/ReverseList.swift @@ -492,7 +492,7 @@ class ReverseListSectionModel: ObservableObject { while (!completed) { let it = im.reversedChatItems[i] if itemSection[it.id] == section { - if sectionCount >= ReverseListSectionModel.IDEAL_SECTION_SIZE { + if sectionCount >= ReverseListSectionModel.MAX_SECTION_SIZE { toRemoveIndexes.insert(i) itemSection.removeValue(forKey: it.id) } else {