// // BlockMemberListView.swift // SodaLive // // Created by klaus on 9/4/24. // import SwiftUI struct BlockMemberListView: View { @StateObject var viewModel = BlockMemberListViewModel() var body: some View { BaseView(isLoading: $viewModel.isLoading) { VStack(spacing: 0) { DetailNavigationBar(title: I18n.MyPage.Block.listTitle) HStack(spacing: 0) { Text(I18n.MyPage.Common.totalPrefix) .appFont(size: 13.3, weight: .medium) .foregroundColor(Color.grayee) Text(" \(viewModel.totalCount) ") .appFont(size: 13.3, weight: .medium) .foregroundColor(Color.mainRed3) Text(I18n.MyPage.Common.personUnit) .appFont(size: 13.3, weight: .medium) .foregroundColor(Color.grayee) Spacer() } .padding(.horizontal, 13.3) .padding(.top, 6.7) if viewModel.totalCount > 0 { ScrollView(.vertical, showsIndicators: false) { VStack(spacing: 13.3) { ForEach(0..