Compare commits
	
		
			3 Commits
		
	
	
		
			5e419e8b0f
			...
			331ec94ede
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 331ec94ede | |||
| aa3e619d37 | |||
| 4442a40aac | 
@ -210,7 +210,6 @@ struct PrivateChatView: View {
 | 
			
		||||
    private var composer: some View {
 | 
			
		||||
        VStack(spacing: 10) {
 | 
			
		||||
            HStack(alignment: .bottom, spacing: 12) {
 | 
			
		||||
           
 | 
			
		||||
                Button(action: {  }) { // переключатель на стикеры
 | 
			
		||||
                    Image(systemName: "paperclip")
 | 
			
		||||
                        .font(.system(size: 18, weight: .semibold))
 | 
			
		||||
@ -218,21 +217,28 @@ struct PrivateChatView: View {
 | 
			
		||||
                        .foregroundColor(.secondary)
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                HStack(alignment: .center, spacing: 8) {
 | 
			
		||||
                ZStack(alignment: .bottomTrailing) {
 | 
			
		||||
                    TextField(inputTab.placeholder, text: $draftText, axis: .vertical)
 | 
			
		||||
                        .lineLimit(1...4)
 | 
			
		||||
                        .focused($isComposerFocused)
 | 
			
		||||
                        .submitLabel(.send)
 | 
			
		||||
                        .disabled(viewModel.isSending || currentUserId == nil)
 | 
			
		||||
                        .onSubmit { sendCurrentMessage() }
 | 
			
		||||
                        .padding(.top, 10)
 | 
			
		||||
                        .padding(.leading, 12)
 | 
			
		||||
                        .padding(.trailing, 44)
 | 
			
		||||
                        .padding(.bottom, 10)
 | 
			
		||||
                        .frame(maxWidth: .infinity, minHeight: 40, alignment: .bottomLeading)
 | 
			
		||||
 | 
			
		||||
                    Button(action: {  }) { // переключатель на стикеры
 | 
			
		||||
                        Image(systemName: "face.smiling")
 | 
			
		||||
                            .font(.system(size: 18, weight: .semibold))
 | 
			
		||||
                            .foregroundColor(.secondary)
 | 
			
		||||
                    }
 | 
			
		||||
                    .padding(.trailing, 12)
 | 
			
		||||
                    .padding(.bottom, 10)
 | 
			
		||||
                }
 | 
			
		||||
                .padding(.vertical, 10)
 | 
			
		||||
                .padding(.horizontal, 12)
 | 
			
		||||
                .frame(minHeight: 40, alignment: .bottom)
 | 
			
		||||
                .background(Color(.secondarySystemBackground))
 | 
			
		||||
                .clipShape(RoundedRectangle(cornerRadius: 18, style: .continuous))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user