탐색
- 크리에이터가 없으면 섹션제거
This commit is contained in:
@@ -84,7 +84,10 @@ struct ExplorerView: View {
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 26.7) {
|
||||
ForEach(0..<viewModel.explorerSections.count, id: \.self) { index in
|
||||
ExplorerSectionView(section: viewModel.explorerSections[index])
|
||||
let section = viewModel.explorerSections[index]
|
||||
if !section.creators.isEmpty {
|
||||
ExplorerSectionView(section: section)
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(.vertical, 40)
|
||||
|
Reference in New Issue
Block a user