시리즈 상세

- 크리에이터 프로필 터치시 채널로 이동
This commit is contained in:
Yu Sung 2025-01-08 01:15:39 +09:00
parent 33bb53faee
commit d060b8620a
1 changed files with 21 additions and 16 deletions

View File

@ -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()