From c6e17f0fc5812eb7cca3dc362ec543a0cf52e39c Mon Sep 17 00:00:00 2001 From: cheykrym Date: Wed, 22 Oct 2025 05:25:20 +0300 Subject: [PATCH] edit padding --- yobble/Views/Chat/PrivateChatView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index 4953c6c..5aaa4ad 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -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)