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

@@ -39,6 +39,7 @@ struct ChatRoomView: View {
.resizable()
.scaledToFit()
}
.cancelOnDisappear(true)
.resizable()
.frame(width: 36, height: 36)
.clipShape(Circle())
@@ -339,6 +340,7 @@ struct ChatRoomBgView: View {
ZStack {
if let url = url {
KFImage(URL(string: url))
.cancelOnDisappear(true)
.resizable()
.scaledToFill()
.frame(width: width, height: height)