From d060b8620a8ae9013116d84ef3048e8e9c05714d Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 8 Jan 2025 01:15:39 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EB=A6=AC=EC=A6=88=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20-=20=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=ED=94=84=EB=A1=9C=ED=95=84=20=ED=84=B0=EC=B9=98=EC=8B=9C=20?= =?UTF-8?q?=EC=B1=84=EB=84=90=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Series/Detail/SeriesDetailView.swift | 37 +++++++++++-------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/SodaLive/Sources/Content/Series/Detail/SeriesDetailView.swift b/SodaLive/Sources/Content/Series/Detail/SeriesDetailView.swift index 3b60efc..de6893f 100644 --- a/SodaLive/Sources/Content/Series/Detail/SeriesDetailView.swift +++ b/SodaLive/Sources/Content/Series/Detail/SeriesDetailView.swift @@ -118,23 +118,28 @@ struct SeriesDetailView: View { .padding(.top, 16) .padding(.horizontal, 13.3) - HStack(spacing: 5.3) { - KFImage(URL(string: seriesDetail.creator.profileImage)) - .cancelOnDisappear(true) - .downsampling( - size: CGSize( - width: 26.7, - height: 26.7 + HStack(spacing: 0) { + HStack(spacing: 5.3) { + KFImage(URL(string: seriesDetail.creator.profileImage)) + .cancelOnDisappear(true) + .downsampling( + size: CGSize( + width: 26.7, + height: 26.7 + ) ) - ) - .resizable() - .scaledToFit() - .clipShape(Circle()) - .frame(width: 26.7, height: 26.7) - - Text(seriesDetail.creator.nickname) - .font(.custom(Font.medium.rawValue, size: 12)) - .foregroundColor(Color(hex: "909090")) + .resizable() + .scaledToFit() + .clipShape(Circle()) + .frame(width: 26.7, height: 26.7) + + Text(seriesDetail.creator.nickname) + .font(.custom(Font.medium.rawValue, size: 12)) + .foregroundColor(Color.gray90) + } + .onTapGesture { + AppState.shared.setAppStep(step: .creatorDetail(userId: seriesDetail.creator.creatorId)) + } Spacer()