edit padding
This commit is contained in:
		
							parent
							
								
									9685674056
								
							
						
					
					
						commit
						c6e17f0fc5
					
				@ -255,7 +255,7 @@ struct PrivateChatView: View {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        .padding(.horizontal, 10)
 | 
			
		||||
        .padding(.horizontal, 6)
 | 
			
		||||
        .padding(.top, 10)
 | 
			
		||||
        .padding(.bottom, 8)
 | 
			
		||||
        .background(.ultraThinMaterial)
 | 
			
		||||
@ -271,11 +271,11 @@ struct PrivateChatView: View {
 | 
			
		||||
 | 
			
		||||
    private var sendButton: some View {
 | 
			
		||||
        Button(action: sendCurrentMessage) {
 | 
			
		||||
            Image(systemName: viewModel.isSending ? "hourglass" : "paperplane.fill")
 | 
			
		||||
            Image(systemName: "paperplane.fill")
 | 
			
		||||
                .font(.system(size: 18, weight: .semibold))
 | 
			
		||||
                .foregroundColor(.white)
 | 
			
		||||
                .foregroundColor(Color.white.opacity(isSendDisabled ? 0.6 : 1))
 | 
			
		||||
                .frame(width: 40, height: 40)
 | 
			
		||||
                .background(Color.accentColor)
 | 
			
		||||
                .background(isSendDisabled ? Color.accentColor.opacity(0.4) : Color.accentColor)
 | 
			
		||||
                .clipShape(Circle())
 | 
			
		||||
        }
 | 
			
		||||
        .disabled(isSendDisabled)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user