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

@@ -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(