diff --git a/SodaLive/Sources/Explorer/Profile/GetCreatorProfileResponse.swift b/SodaLive/Sources/Explorer/Profile/GetCreatorProfileResponse.swift index d67498f..f87b105 100644 --- a/SodaLive/Sources/Explorer/Profile/GetCreatorProfileResponse.swift +++ b/SodaLive/Sources/Explorer/Profile/GetCreatorProfileResponse.swift @@ -13,6 +13,9 @@ struct GetCreatorProfileResponse: Decodable { let similarCreatorList: [SimilarCreatorResponse] let liveRoomList: [LiveRoomResponse] let contentList: [GetAudioContentListItem] + let latestContent: GetAudioContentListItem? + let totalContentCount: Int + let ownedContentCount: Int let notice: String let communityPostList: [GetCommunityPostListResponse] let cheers: GetCheersResponse diff --git a/SodaLive/Sources/Explorer/Profile/UserProfileView.swift b/SodaLive/Sources/Explorer/Profile/UserProfileView.swift index 6afbb6f..290301b 100644 --- a/SodaLive/Sources/Explorer/Profile/UserProfileView.swift +++ b/SodaLive/Sources/Explorer/Profile/UserProfileView.swift @@ -71,10 +71,6 @@ struct UserProfileView: View { } if creatorProfile.isCreatorRole { - UserProfileActivitySummaryView(item: creatorProfile.activitySummary) - .padding(.top, 13.3) - .padding(.horizontal, 13.3) - if viewModel.communityPostList.count > 0 { ScrollView(.horizontal, showsIndicators: false) { LazyHStack(spacing: 13.3) { @@ -203,20 +199,6 @@ struct UserProfileView: View { .padding(.horizontal, 13.3) } - VStack(spacing: 26.7) { - let introduce = creatorProfile.creator.introduce - UserProfileIntroduceView( - introduce: introduce.trimmingCharacters(in: .whitespaces).count <= 0 ? - "채널 소개내용이 없습니다." : - introduce) - - Rectangle() - .frame(height: 1) - .foregroundColor(Color(hex: "909090").opacity(0.5)) - .padding(.horizontal, 13.3) - } - .padding(.top, 26.7) - if creatorProfile.userDonationRanking.count > 0 { VStack(spacing: 26.7) { UserProfileDonationView(userId: userId, donationRankingResponse: creatorProfile.userDonationRanking)