Skip to content

Commit

Permalink
Merge pull request #81 from mash-up-kr/fix/밈상세-qa
Browse files Browse the repository at this point in the history
Fix/밈상세 qa
  • Loading branch information
chansooo authored Oct 3, 2024
2 parents 014c966 + 066fc54 commit 6c3c73b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions Projects/Features/MemeDetail/Sources/MemeDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c3c73b

Please sign in to comment.