// // SectionRecommendLiveView.swift // SodaLive // // Created by klaus on 2023/08/09. // import SwiftUI import Kingfisher struct SectionRecommendLiveView: View { let items: [GetRecommendLiveResponse] @State private var currentIndex = 0 @State private var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect() @AppStorage("token") private var token: String = UserDefaults.string(forKey: UserDefaultsKey.token) var body: some View { VStack(spacing: 0) { TabView(selection: $currentIndex) { ForEach(0..