feat: KFImage를 사용하는 곳에 .cancelOnDisappear(true) 옵션 추가

This commit is contained in:
Yu Sung
2025-10-23 15:09:50 +09:00
parent 425a767927
commit 9568cb7ecd
14 changed files with 17 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ struct RecommendChannelContentItemView: View {
var body: some View {
HStack(spacing: 16) {
KFImage(URL(string: item.thumbnailImageUrl))
.cancelOnDisappear(true)
.resizable()
.frame(width: 60, height: 60)
.cornerRadius(12)

View File

@@ -18,6 +18,7 @@ struct RecommendChannelItemView: View {
VStack(alignment: .leading, spacing: 12) {
HStack(spacing: 6) {
KFImage(URL(string: item.creatorProfileImageUrl))
.cancelOnDisappear(true)
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 80, height: 80, alignment: .top)