fix new items

This commit is contained in:
Diogo
2024-10-16 21:46:30 +01:00
parent 061dccbb98
commit 57a01fdce8
@@ -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()
}