fix pos
This commit is contained in:
		
							parent
							
								
									aa3e619d37
								
							
						
					
					
						commit
						331ec94ede
					
				@ -209,7 +209,7 @@ struct PrivateChatView: View {
 | 
			
		||||
 | 
			
		||||
    private var composer: some View {
 | 
			
		||||
        VStack(spacing: 10) {
 | 
			
		||||
            HStack(spacing: 12) {
 | 
			
		||||
            HStack(alignment: .bottom, spacing: 12) {
 | 
			
		||||
                Button(action: {  }) { // переключатель на стикеры
 | 
			
		||||
                    Image(systemName: "paperclip")
 | 
			
		||||
                        .font(.system(size: 18, weight: .semibold))
 | 
			
		||||
@ -224,10 +224,11 @@ struct PrivateChatView: View {
 | 
			
		||||
                        .submitLabel(.send)
 | 
			
		||||
                        .disabled(viewModel.isSending || currentUserId == nil)
 | 
			
		||||
                        .onSubmit { sendCurrentMessage() }
 | 
			
		||||
                        .padding(.vertical, 10)
 | 
			
		||||
                        .padding(.top, 10)
 | 
			
		||||
                        .padding(.leading, 12)
 | 
			
		||||
                        .padding(.trailing, 44)
 | 
			
		||||
                        .frame(maxWidth: .infinity, alignment: .leading)
 | 
			
		||||
                        .padding(.bottom, 10)
 | 
			
		||||
                        .frame(maxWidth: .infinity, minHeight: 40, alignment: .bottomLeading)
 | 
			
		||||
 | 
			
		||||
                    Button(action: {  }) { // переключатель на стикеры
 | 
			
		||||
                        Image(systemName: "face.smiling")
 | 
			
		||||
@ -237,7 +238,7 @@ struct PrivateChatView: View {
 | 
			
		||||
                    .padding(.trailing, 12)
 | 
			
		||||
                    .padding(.bottom, 10)
 | 
			
		||||
                }
 | 
			
		||||
                .frame(minHeight: 40)
 | 
			
		||||
                .frame(minHeight: 40, alignment: .bottom)
 | 
			
		||||
                .background(Color(.secondarySystemBackground))
 | 
			
		||||
                .clipShape(RoundedRectangle(cornerRadius: 18, style: .continuous))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user