KFImage를 이용하여 불러오는 이미지 다운샘플링
This commit is contained in:
		@@ -56,6 +56,13 @@ struct HomeView: View {
 | 
			
		||||
                    if contentPlayManager.isShowingMiniPlayer {
 | 
			
		||||
                        HStack(spacing: 0) {
 | 
			
		||||
                            KFImage(URL(string: contentPlayManager.coverImage))
 | 
			
		||||
                                .cancelOnDisappear(true)
 | 
			
		||||
                                .downsampling(
 | 
			
		||||
                                    size: CGSize(
 | 
			
		||||
                                        width: 36.7,
 | 
			
		||||
                                        height: 36.7
 | 
			
		||||
                                    )
 | 
			
		||||
                                )
 | 
			
		||||
                                .resizable()
 | 
			
		||||
                                .frame(width: 36.7, height: 36.7)
 | 
			
		||||
                                .cornerRadius(5.3)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user