From 57a01fdce839fc4dffdebda30e01f5fd19cd5af4 Mon Sep 17 00:00:00 2001 From: Diogo Date: Wed, 16 Oct 2024 21:46:30 +0100 Subject: [PATCH] fix new items --- apps/ios/Shared/Views/Chat/ChatView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ios/Shared/Views/Chat/ChatView.swift b/apps/ios/Shared/Views/Chat/ChatView.swift index f48c73dc6b..c26642ac45 100644 --- a/apps/ios/Shared/Views/Chat/ChatView.swift +++ b/apps/ios/Shared/Views/Chat/ChatView.swift @@ -447,6 +447,7 @@ struct ChatView: View { .onChange(of: im.itemAdded) { added in if added { im.itemAdded = false + sectionModel.resetSections(items: im.reversedChatItems) if FloatingButtonModel.shared.isReallyNearBottom { scrollModel.scrollToBottom() }