parent
a08b463c11
commit
1e5ee80ca2
|
@ -14,9 +14,9 @@ struct SeriesListAllView: View {
|
||||||
let creatorId: Int
|
let creatorId: Int
|
||||||
|
|
||||||
let columns = [
|
let columns = [
|
||||||
GridItem(.flexible()),
|
GridItem(.flexible(), alignment: .top),
|
||||||
GridItem(.flexible()),
|
GridItem(.flexible(), alignment: .top),
|
||||||
GridItem(.flexible())
|
GridItem(.flexible(), alignment: .top)
|
||||||
]
|
]
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
|
|
@ -29,15 +29,17 @@ struct UserProfileSeriesView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HStack(spacing: 13.3) {
|
ScrollView(.horizontal, showsIndicators: false) {
|
||||||
ForEach(0..<items.count, id: \.self) {
|
HStack(spacing: 13.3) {
|
||||||
let item = items[$0]
|
ForEach(0..<items.count, id: \.self) {
|
||||||
SeriesListBigItemView(item: item)
|
let item = items[$0]
|
||||||
.contentShape(Rectangle())
|
SeriesListBigItemView(item: item)
|
||||||
.onTapGesture {
|
.contentShape(Rectangle())
|
||||||
AppState.shared
|
.onTapGesture {
|
||||||
.setAppStep(step: .seriesDetail(seriesId: item.seriesId))
|
AppState.shared
|
||||||
}
|
.setAppStep(step: .seriesDetail(seriesId: item.seriesId))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,7 +79,7 @@ struct SeriesListItemView: View {
|
||||||
.font(.custom(Font.medium.rawValue, size: 11))
|
.font(.custom(Font.medium.rawValue, size: 11))
|
||||||
.foregroundColor(Color.gray77)
|
.foregroundColor(Color.gray77)
|
||||||
}
|
}
|
||||||
.frame(width: 116.7)
|
.frame(width: 102)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue