bad stash

This commit is contained in:
Diogo
2024-10-22 11:47:01 +01:00
parent 7d9e0dd041
commit 0a9917de03
+1 -1
View File
@@ -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 {