mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
bad stash
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user