From 84747cdea70ffd4735cce24a08de8388ec75e217 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 17 Oct 2025 06:58:15 +0900 Subject: [PATCH] =?UTF-8?q?feat(creator-profile):=20=EC=BB=A4=EB=AE=A4?= =?UTF-8?q?=EB=8B=88=ED=8B=B0=20=EC=84=B9=EC=85=98=20UI=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Explorer/Profile/UserProfileView.swift | 117 ++++++++++-------- 1 file changed, 64 insertions(+), 53 deletions(-) diff --git a/SodaLive/Sources/Explorer/Profile/UserProfileView.swift b/SodaLive/Sources/Explorer/Profile/UserProfileView.swift index 8262b94..21b4367 100644 --- a/SodaLive/Sources/Explorer/Profile/UserProfileView.swift +++ b/SodaLive/Sources/Explorer/Profile/UserProfileView.swift @@ -210,60 +210,71 @@ struct UserProfileView: View { .padding(.horizontal, 24) } - if viewModel.communityPostList.count > 0 { - ScrollView(.horizontal, showsIndicators: false) { - LazyHStack(spacing: 13.3) { - if UserDefaults.int(forKey: .userId) == creatorProfile.creator.creatorId { - CreatorCommunityWriteItemView() - .onTapGesture { - AppState.shared.setAppStep( - step: .creatorCommunityWrite( - onSuccess: creatorCommunityWriteSuccess - ) - ) - } - } - - ForEach(0.. 0 { + ScrollView(.horizontal, showsIndicators: false) { + LazyHStack(spacing: 14) { + if UserDefaults.int(forKey: .userId) == creatorProfile.creator.creatorId { + CreatorCommunityWriteItemView() + .onTapGesture { + AppState.shared.setAppStep( + step: .creatorCommunityWrite( + onSuccess: creatorCommunityWriteSuccess + ) + ) + } + } + + ForEach(0..