Compare commits
No commits in common. "93c865f5ca2d9942080d7f617bb705dbb7811cdc" and "96856740560c9d9766f5afaeb743ce86c969efaf" have entirely different histories.
93c865f5ca
...
9685674056
@ -209,7 +209,7 @@ struct PrivateChatView: View {
|
||||
|
||||
private var composer: some View {
|
||||
VStack(spacing: 10) {
|
||||
HStack(alignment: .bottom, spacing: 4) {
|
||||
HStack(alignment: .bottom, spacing: 3) {
|
||||
Button(action: { }) { // переключатель на стикеры
|
||||
Image(systemName: "paperclip")
|
||||
.font(.system(size: 18, weight: .semibold))
|
||||
@ -241,9 +241,6 @@ 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() }) {
|
||||
@ -258,7 +255,7 @@ struct PrivateChatView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, 6)
|
||||
.padding(.horizontal, 10)
|
||||
.padding(.top, 10)
|
||||
.padding(.bottom, 8)
|
||||
.background(.ultraThinMaterial)
|
||||
@ -274,11 +271,11 @@ struct PrivateChatView: View {
|
||||
|
||||
private var sendButton: some View {
|
||||
Button(action: sendCurrentMessage) {
|
||||
Image(systemName: "paperplane.fill")
|
||||
.font(.system(size: 16, weight: .semibold))
|
||||
.foregroundColor(Color.white.opacity(isSendDisabled ? 0.6 : 1))
|
||||
.frame(width: 36, height: 36)
|
||||
.background(isSendDisabled ? Color.accentColor.opacity(0.4) : Color.accentColor)
|
||||
Image(systemName: viewModel.isSending ? "hourglass" : "paperplane.fill")
|
||||
.font(.system(size: 18, weight: .semibold))
|
||||
.foregroundColor(.white)
|
||||
.frame(width: 40, height: 40)
|
||||
.background(Color.accentColor)
|
||||
.clipShape(Circle())
|
||||
}
|
||||
.disabled(isSendDisabled)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user