feat(image): 메인 라이브 탭에 DownsampledKFImage 적용
- 수평 리스트 HStack → LazyHStack으로 교체해 프리로딩/메모리 개선
This commit is contained in:
@@ -29,13 +29,11 @@ struct MyLiveReservationItemView: View {
|
||||
|
||||
HStack(spacing: 16) {
|
||||
ZStack(alignment: .topLeading) {
|
||||
KFImage(URL(string: item.creatorProfileImage))
|
||||
.cancelOnDisappear(true)
|
||||
.resizable()
|
||||
.scaledToFill()
|
||||
.frame(width: 100, height: 100, alignment: .top)
|
||||
.cornerRadius(16)
|
||||
.clipped()
|
||||
DownsampledKFImage(
|
||||
url: URL(string: item.creatorProfileImage),
|
||||
size: CGSize(width: 100, height: 100)
|
||||
)
|
||||
.cornerRadius(16)
|
||||
|
||||
if item.isPrivateRoom {
|
||||
Image("ic_lock")
|
||||
|
||||
Reference in New Issue
Block a user