From f23f7a403dbf381b0831f0171d14d0b3afe9a429 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 18 Jul 2025 12:29:10 +0400 Subject: [PATCH] change background --- apps/ios/Shared/Views/Chat/ChatView.swift | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/ios/Shared/Views/Chat/ChatView.swift b/apps/ios/Shared/Views/Chat/ChatView.swift index 0f67c4cf5a..ee40846e80 100644 --- a/apps/ios/Shared/Views/Chat/ChatView.swift +++ b/apps/ios/Shared/Views/Chat/ChatView.swift @@ -812,6 +812,7 @@ struct ChatView: View { struct ChatBannerView: View { @Environment(\.dynamicTypeSize) private var userFont: DynamicTypeSize + @UserDefault(DEFAULT_TOOLBAR_MATERIAL) private var toolbarMaterial = ToolbarMaterial.defaultMaterial @ObservedObject var chat: Chat var body: some View { @@ -844,10 +845,11 @@ struct ChatView: View { } .frame(maxWidth: .infinity) .padding() - .background( - RoundedRectangle(cornerRadius: 18) - .fill(Color(uiColor: .tertiarySystemGroupedBackground)) - ) + .background { + Color.clear + .overlay(ToolbarMaterial.material(toolbarMaterial)) + .clipShape(RoundedRectangle(cornerRadius: 18)) + } .padding(.horizontal) Spacer().frame(height: 60)