fix(main): 팔로잉 빈 섹션을 숨긴다

This commit is contained in:
Yu Sung
2026-07-13 16:15:19 +09:00
parent dbf696978f
commit 9b115f3339
5 changed files with 44 additions and 19 deletions

View File

@@ -3255,9 +3255,9 @@ If you block this user, the following features will be restricted.
enum HomeFollowing {
static var emptyStateMessage: String {
pick(
ko: "팔로잉 소식이 아직 없어요.\n관심 있는 크리에이터를 팔로우해 보세요.",
en: "No following updates yet.\nFollow creators you care about.",
ja: "フォロー中の新着情報はまだありません。\n気になるクリエイターをフォローしてみましょう。"
ko: "아직 팔로잉 소식이 없어요.\n관심 있는 크리에이터를 팔로우해 보세요.",
en: "There are no following updates yet.\nFollow creators you're interested in.",
ja: "まだフォロー中の新着情報ありません。\n気になるクリエイターをフォローしてみましょう。"
)
}

View File

@@ -14,7 +14,7 @@ struct MainHomeFollowingEmptyStateView: View {
Spacer()
Text(message)
.appFont(.body5)
.appFont(.body3)
.foregroundColor(Color.gray500)
.multilineTextAlignment(.center)

View File

@@ -61,11 +61,13 @@ struct MainHomeFollowingView: View {
} else if let response = viewModel.response {
ScrollView(.vertical, showsIndicators: false) {
VStack(spacing: 0) {
MainHomeFollowingCreatorSection(
followingCreators: response.followingCreators,
onTapCreator: onTapCreator,
onTapAll: onTapFollowingAll
)
if !response.followingCreators.isEmpty {
MainHomeFollowingCreatorSection(
followingCreators: response.followingCreators,
onTapCreator: onTapCreator,
onTapAll: onTapFollowingAll
)
}
if !response.onAirLives.isEmpty {
MainHomeFollowingLiveSection(