diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index 3294b24..d1be8e1 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -723,10 +723,10 @@ struct PrivateChatView: View { let text = draftText.trimmingCharacters(in: .whitespacesAndNewlines) guard !text.isEmpty else { return } - draftText = "" scrollToBottomTrigger = .init() viewModel.sendMessage(text: text) { success in if success { + draftText = "" hasPositionedToBottom = true } }