// // FollowCreatorView.swift // SodaLive // // Created by klaus on 2023/08/19. // import SwiftUI import GoogleMobileAds struct FollowCreatorView: View { @StateObject var viewModel = FollowCreatorViewModel() var body: some View { BaseView(isLoading: $viewModel.isLoading) { VStack(spacing: 0) { DetailNavigationBar(title: "팔로잉 채널리스트") BannerAdView(adUnitId: FOLLOWING_CHANNEL_LIST_BANNER_AD_UNIT_ID) .frame( width: screenSize().width, height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height ) .padding(.vertical, 6.7) HStack(spacing: 0) { Text("총 ") .font(.custom(Font.medium.rawValue, size: 13.3)) .foregroundColor(Color(hex: "eeeeee")) Text("\(viewModel.totalCount)") .font(.custom(Font.medium.rawValue, size: 13.3)) .foregroundColor(Color(hex: "dd4500")) Text(" 명") .font(.custom(Font.medium.rawValue, size: 13.3)) .foregroundColor(Color(hex: "eeeeee")) Spacer() } .padding(.horizontal, 13.3) ScrollView(.vertical, showsIndicators: false) { VStack(spacing: 13.3) { ForEach(0..