fix pos buttom

This commit is contained in:
cheykrym 2025-10-22 05:38:58 +03:00
parent 2d3299fe96
commit 93c865f5ca

View File

@ -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() }) {