From 707b6f804c1adcf0ac7092966496bd7f0b30c574 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Mon, 4 Sep 2023 23:10:34 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=EB=A7=A4=EB=AA=A9=EB=A1=9D=20-=20?= =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=ED=81=AC=EB=A6=AC=EC=97=90?= =?UTF-8?q?=EC=9D=B4=ED=84=B0=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Content/Main/ContentMainMyStashView.swift | 4 +++- .../OrderList/GetAudioContentOrderListResponse.swift | 1 + SodaLive/Sources/MyPage/OrderList/OrderListItemView.swift | 7 ++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/SodaLive/Sources/Content/Main/ContentMainMyStashView.swift b/SodaLive/Sources/Content/Main/ContentMainMyStashView.swift index afab44c..4898e2c 100644 --- a/SodaLive/Sources/Content/Main/ContentMainMyStashView.swift +++ b/SodaLive/Sources/Content/Main/ContentMainMyStashView.swift @@ -23,7 +23,9 @@ struct ContentMainMyStashView: View { Text("전체보기") .font(.custom(Font.light.rawValue, size: 11.3)) .foregroundColor(Color(hex: "bbbbbb")) - .onTapGesture {} + .onTapGesture { + AppState.shared.setAppStep(step: .orderListAll) + } } ScrollView(.horizontal, showsIndicators: false) { diff --git a/SodaLive/Sources/MyPage/OrderList/GetAudioContentOrderListResponse.swift b/SodaLive/Sources/MyPage/OrderList/GetAudioContentOrderListResponse.swift index dbd6e47..0f8fce5 100644 --- a/SodaLive/Sources/MyPage/OrderList/GetAudioContentOrderListResponse.swift +++ b/SodaLive/Sources/MyPage/OrderList/GetAudioContentOrderListResponse.swift @@ -15,6 +15,7 @@ struct GetAudioContentOrderListResponse: Decodable { struct GetAudioContentOrderListItem: Decodable { let contentId: Int let coverImageUrl: String + let creatorNickname: String let title: String let themeStr: String let duration: String? diff --git a/SodaLive/Sources/MyPage/OrderList/OrderListItemView.swift b/SodaLive/Sources/MyPage/OrderList/OrderListItemView.swift index 224f5ae..f19ccae 100644 --- a/SodaLive/Sources/MyPage/OrderList/OrderListItemView.swift +++ b/SodaLive/Sources/MyPage/OrderList/OrderListItemView.swift @@ -17,7 +17,7 @@ struct OrderListItemView: View { HStack(spacing: 10) { KFImage(URL(string: item.coverImageUrl)) .resizable() - .frame(width: 66.7, height: 66.7, alignment: .center) + .frame(width: 80, height: 80, alignment: .center) .clipped() .cornerRadius(5.3) @@ -38,6 +38,11 @@ struct OrderListItemView: View { .cornerRadius(2.6) } + Text(item.creatorNickname) + .font(.custom(Font.medium.rawValue, size: 9)) + .foregroundColor(Color(hex: "777777")) + .padding(.top, 2.6) + Text(item.title) .font(.custom(Font.medium.rawValue, size: 12)) .foregroundColor(Color(hex: "d2d2d2"))