feat(series-all): 시리즈 전체보기 UI 수정

- 기존 3단 구성에서 2단 구성으로 변경
- NavigationBar 제목에 OOO님의 시리즈 전체보기로 변경
This commit is contained in:
Yu Sung
2025-11-14 17:55:23 +09:00
parent c4a7742514
commit ed48efd58d
5 changed files with 58 additions and 36 deletions

View File

@@ -9,6 +9,7 @@ import SwiftUI
struct UserProfileSeriesView: View {
let creatorId: Int
let creatorNickname: String
let items: [SeriesListItem]
var body: some View {
@@ -25,7 +26,7 @@ struct UserProfileSeriesView: View {
.foregroundColor(Color(hex: "78909C"))
.onTapGesture {
AppState.shared
.setAppStep(step: .seriesAll(creatorId: creatorId))
.setAppStep(step: .seriesAll(creatorId: creatorId, creatorNickname: creatorNickname))
}
}
.padding(.horizontal, 24)
@@ -46,6 +47,7 @@ struct UserProfileSeriesView: View {
#Preview {
UserProfileSeriesView(
creatorId: 1,
creatorNickname: "",
items: [
SeriesListItem(
seriesId: 1,

View File

@@ -328,6 +328,7 @@ struct UserProfileView: View {
if !creatorProfile.seriesList.isEmpty {
UserProfileSeriesView(
creatorId: creatorProfile.creator.creatorId,
creatorNickname: creatorProfile.creator.nickname,
items: creatorProfile.seriesList
)
}