From 93c865f5ca2d9942080d7f617bb705dbb7811cdc Mon Sep 17 00:00:00 2001 From: cheykrym Date: Wed, 22 Oct 2025 05:38:58 +0300 Subject: [PATCH] fix pos buttom --- yobble/Views/Chat/PrivateChatView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index 3203f2f..4f8bc2d 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -209,7 +209,7 @@ struct PrivateChatView: View { private var composer: some View { VStack(spacing: 10) { - HStack(alignment: .center, spacing: 4) { + HStack(alignment: .bottom, spacing: 4) { Button(action: { }) { // переключатель на стикеры Image(systemName: "paperclip") .font(.system(size: 18, weight: .semibold)) @@ -241,6 +241,9 @@ struct PrivateChatView: View { .frame(minHeight: 40, alignment: .bottom) .background(Color(.secondarySystemBackground)) .clipShape(RoundedRectangle(cornerRadius: 18, style: .continuous)) + .alignmentGuide(.bottom) { dimension in + dimension[VerticalAlignment.bottom] - 2 + } if !isSendAvailable { Button(action: { isVideoPreferred.toggle() }) {