change scroll pos

This commit is contained in:
cheykrym 2025-10-22 06:33:06 +03:00
parent de2d7c4020
commit 61e1feb8bd

View File

@ -35,7 +35,7 @@ struct PrivateChatView: View {
if !isBottomAnchorVisible { if !isBottomAnchorVisible {
scrollToBottomButton(proxy: proxy) scrollToBottomButton(proxy: proxy)
.padding(.trailing, 20) .padding(.trailing, 12)
.padding(.bottom, 4) .padding(.bottom, 4)
} }
} }
@ -291,8 +291,12 @@ struct PrivateChatView: View {
.font(.system(size: 18, weight: .semibold)) .font(.system(size: 18, weight: .semibold))
.foregroundColor(.white) .foregroundColor(.white)
.frame(width: 44, height: 44) .frame(width: 44, height: 44)
.background(Color.accentColor) // .background(Color.accentColor)
.background(Color(.secondarySystemBackground))
.clipShape(Circle()) .clipShape(Circle())
// .overlay(
// Circle().stroke(Color.white.opacity(0.35), lineWidth: 1)
// )
} }
.buttonStyle(.plain) .buttonStyle(.plain)
.shadow(color: Color.black.opacity(0.2), radius: 4, x: 0, y: 2) .shadow(color: Color.black.opacity(0.2), radius: 4, x: 0, y: 2)