feat(home): 현재 라이브 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-29 13:22:00 +09:00
parent e67efeb30f
commit c441fb0b02
8 changed files with 191 additions and 38 deletions

View File

@@ -17,6 +17,16 @@ struct MainHomeRecommendationView: View {
if viewModel.isLoading && viewModel.recommendations == nil {
ProgressView()
.progressViewStyle(CircularProgressViewStyle(tint: .white))
} else {
ScrollView(showsIndicators: false) {
VStack(alignment: .leading, spacing: SodaSpacing.s24) {
MainHomeLiveSection(
items: viewModel.recommendations?.lives ?? [],
onTapLive: onTapLive
)
}
.padding(.vertical, SodaSpacing.s20)
}
}
}
.onAppear {