parent
33bb53faee
commit
d060b8620a
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue