From 3044231eb69c1458ff6b321ad40a8e4bc196ec1c Mon Sep 17 00:00:00 2001 From: Diogo Date: Sat, 19 Oct 2024 09:05:46 +0100 Subject: [PATCH] section to drop fix --- 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 d93edc0575..97b9f54526 100644 --- a/apps/ios/Shared/Views/Chat/ReverseList.swift +++ b/apps/ios/Shared/Views/Chat/ReverseList.swift @@ -434,7 +434,7 @@ class ReverseListSectionModel: ObservableObject { itemSection = itemSection.mapValues { section in section == sectionToDrop ? targetSection : section } - sections.remove(targetSection) + sections.remove(sectionToDrop) } reversedPage.forEach { ci in