parent
33bb53faee
commit
d060b8620a
|
@ -118,23 +118,28 @@ struct SeriesDetailView: View {
|
||||||
.padding(.top, 16)
|
.padding(.top, 16)
|
||||||
.padding(.horizontal, 13.3)
|
.padding(.horizontal, 13.3)
|
||||||
|
|
||||||
HStack(spacing: 5.3) {
|
HStack(spacing: 0) {
|
||||||
KFImage(URL(string: seriesDetail.creator.profileImage))
|
HStack(spacing: 5.3) {
|
||||||
.cancelOnDisappear(true)
|
KFImage(URL(string: seriesDetail.creator.profileImage))
|
||||||
.downsampling(
|
.cancelOnDisappear(true)
|
||||||
size: CGSize(
|
.downsampling(
|
||||||
width: 26.7,
|
size: CGSize(
|
||||||
height: 26.7
|
width: 26.7,
|
||||||
|
height: 26.7
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
.resizable()
|
||||||
.resizable()
|
.scaledToFit()
|
||||||
.scaledToFit()
|
.clipShape(Circle())
|
||||||
.clipShape(Circle())
|
.frame(width: 26.7, height: 26.7)
|
||||||
.frame(width: 26.7, height: 26.7)
|
|
||||||
|
|
||||||
Text(seriesDetail.creator.nickname)
|
Text(seriesDetail.creator.nickname)
|
||||||
.font(.custom(Font.medium.rawValue, size: 12))
|
.font(.custom(Font.medium.rawValue, size: 12))
|
||||||
.foregroundColor(Color(hex: "909090"))
|
.foregroundColor(Color.gray90)
|
||||||
|
}
|
||||||
|
.onTapGesture {
|
||||||
|
AppState.shared.setAppStep(step: .creatorDetail(userId: seriesDetail.creator.creatorId))
|
||||||
|
}
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue