diff --git a/SodaLive/Sources/Chat/Character/Banner/AutoSlideCharacterBannerView.swift b/SodaLive/Sources/Chat/Character/Banner/AutoSlideCharacterBannerView.swift index eb51c02..2995c22 100644 --- a/SodaLive/Sources/Chat/Character/Banner/AutoSlideCharacterBannerView.swift +++ b/SodaLive/Sources/Chat/Character/Banner/AutoSlideCharacterBannerView.swift @@ -12,40 +12,58 @@ struct AutoSlideCharacterBannerView: View { var items: [CharacterBannerResponse] = [] var onTap: (CharacterBannerResponse) -> Void = { _ in } - @State private var index: Int = 0 + @State private var currentIndex: Int = 0 @State private var height: CGFloat = 0 private let timer = Timer.publish(every: 4, on: .main, in: .common).autoconnect() var body: some View { - TabView(selection: $index) { - ForEach(0..