크리에이터 채널
- 후원랭킹이 없어도 내 채널에서는 후원랭킹 영역이 보이도록 수정 - 채널 주인이 아닌 다른 유저는 커뮤니티 게시물이 없으면 커뮤니티 영역이 보이지 않도록 수정
This commit is contained in:
@@ -256,6 +256,7 @@ struct UserProfileView: View {
|
||||
.padding(.horizontal, 24)
|
||||
}
|
||||
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) || viewModel.communityPostList.count > 0 {
|
||||
VStack(alignment: .leading, spacing: 14) {
|
||||
HStack(spacing: 0) {
|
||||
Text(I18n.MemberChannel.communityHeader)
|
||||
@@ -323,6 +324,7 @@ struct UserProfileView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if !creatorProfile.seriesList.isEmpty {
|
||||
UserProfileSeriesView(
|
||||
@@ -332,7 +334,7 @@ struct UserProfileView: View {
|
||||
)
|
||||
}
|
||||
|
||||
if creatorProfile.userDonationRanking.count > 0 {
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) || creatorProfile.userDonationRanking.count > 0 {
|
||||
UserProfileDonationView(userId: userId, donationRankingResponse: creatorProfile.userDonationRanking)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user