fix(main): 팔로잉 빈 섹션을 숨긴다
This commit is contained in:
@@ -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気になるクリエイターをフォローしてみましょう。"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ struct MainHomeFollowingEmptyStateView: View {
|
||||
Spacer()
|
||||
|
||||
Text(message)
|
||||
.appFont(.body5)
|
||||
.appFont(.body3)
|
||||
.foregroundColor(Color.gray500)
|
||||
.multilineTextAlignment(.center)
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user