This commit is contained in:
cheykrym 2025-12-11 21:02:12 +03:00
parent 0839009734
commit 4a045ac140

View File

@ -98,6 +98,8 @@ struct PrivateChatView: View {
.onChange(of: viewModel.isInitialLoading) { isLoading in
if isLoading {
hasPositionedToBottom = false
} else if !viewModel.messages.isEmpty {
scrollToBottomTrigger = .init()
}
}
.safeAreaInset(edge: .bottom) {