feat: KFImage를 사용하는 곳에 .cancelOnDisappear(true) 옵션 추가
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user