From 066fc54e0155afa9cba8260fcb9204a9cb31317d Mon Sep 17 00:00:00 2001 From: chansooo Date: Wed, 2 Oct 2024 00:44:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B0=88=20=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=EB=B0=B0=EA=B2=BD=20=EC=9A=94=EA=B5=AC=EC=82=AC=ED=95=AD=20?= =?UTF-8?q?=EB=A7=9E=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MemeDetail/Sources/MemeDetailView.swift | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Projects/Features/MemeDetail/Sources/MemeDetailView.swift b/Projects/Features/MemeDetail/Sources/MemeDetailView.swift index 1a69a52..a96e1c7 100644 --- a/Projects/Features/MemeDetail/Sources/MemeDetailView.swift +++ b/Projects/Features/MemeDetail/Sources/MemeDetailView.swift @@ -40,15 +40,17 @@ public struct MemeDetailView: View { tabBarTap(tab) } .background( - KFImage(URL(string: viewModel.state.meme.imageUrlString)) - .resizable() - .loadDiskFileSynchronously() - .cacheMemoryOnly() - .aspectRatio(contentMode: .fill) - .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center) - .clipped() - .opacity(0.4) - .edgesIgnoringSafeArea(.top) + KFImage(URL(string: viewModel.state.meme.imageUrlString)) + .resizable() + .loadDiskFileSynchronously() + .cacheMemoryOnly() + .aspectRatio(contentMode: .fill) + .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center) + .clipped() + .opacity(0.4) // Image Opacity: 40% + .blur(radius: 50) // Layer Blur: 50 + .overlay(Color.white.opacity(0.3)) // White Dim: #fff, Opacity: 30% + .edgesIgnoringSafeArea(.top) ) .onAppear { viewModel.logMemeDetail(interaction: .view, event: .meme)