From ed48efd58d85496feb30e826b3d568862304f38b Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 14 Nov 2025 17:55:23 +0900 Subject: [PATCH] =?UTF-8?q?feat(series-all):=20=EC=8B=9C=EB=A6=AC=EC=A6=88?= =?UTF-8?q?=20=EC=A0=84=EC=B2=B4=EB=B3=B4=EA=B8=B0=20UI=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 기존 3단 구성에서 2단 구성으로 변경 - NavigationBar 제목에 OOO님의 시리즈 전체보기로 변경 --- SodaLive/Sources/App/AppStep.swift | 2 +- .../Content/Series/SeriesListAllView.swift | 83 ++++++++++++------- SodaLive/Sources/ContentView.swift | 4 +- .../Series/UserProfileSeriesView.swift | 4 +- .../Explorer/Profile/UserProfileView.swift | 1 + 5 files changed, 58 insertions(+), 36 deletions(-) diff --git a/SodaLive/Sources/App/AppStep.swift b/SodaLive/Sources/App/AppStep.swift index 25bd234..27e18a6 100644 --- a/SodaLive/Sources/App/AppStep.swift +++ b/SodaLive/Sources/App/AppStep.swift @@ -128,7 +128,7 @@ enum AppStep { case seriesDetail(seriesId: Int) - case seriesAll(creatorId: Int) + case seriesAll(creatorId: Int? = nil, creatorNickname: String? = nil, isOriginal: Bool = false) case seriesContentAll(seriesId: Int, seriesTitle: String) diff --git a/SodaLive/Sources/Content/Series/SeriesListAllView.swift b/SodaLive/Sources/Content/Series/SeriesListAllView.swift index 52515af..f4e469b 100644 --- a/SodaLive/Sources/Content/Series/SeriesListAllView.swift +++ b/SodaLive/Sources/Content/Series/SeriesListAllView.swift @@ -10,44 +10,63 @@ import SwiftUI struct SeriesListAllView: View { @ObservedObject var viewModel = SeriesListAllViewModel() - @State var columns: [GridItem] = [] - let creatorId: Int + var creatorId: Int? = nil + var creatorNickname: String? = nil + + var isOriginal = false var body: some View { - BaseView(isLoading: $viewModel.isLoading) { - VStack(spacing: 0) { - DetailNavigationBar(title: "시리즈 전체보기") - - ScrollView(.vertical, showsIndicators: false) { - LazyVGrid(columns: columns, spacing: 33.3) { - ForEach(0..