mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-30 22:22:11 +02:00
Just a couple of Combine Publishers to go.
This commit is contained in:
@@ -18,7 +18,7 @@ struct CategoryRow: View {
|
||||
.padding(.leading, 15)
|
||||
.padding(.top, 5)
|
||||
|
||||
ScrollView([]) {
|
||||
ScrollView(.horizontal) {
|
||||
HStack(alignment: .top, spacing: 0) {
|
||||
ForEach(self.items.identified(by: \.name)) { landmark in
|
||||
NavigationLink(
|
||||
|
||||
@@ -31,7 +31,7 @@ struct ProfileSummary: View {
|
||||
VStack(alignment: .leading) {
|
||||
Text("Completed Badges")
|
||||
.font(.headline)
|
||||
ScrollView {
|
||||
ScrollView(.horizontal) {
|
||||
HStack {
|
||||
HikeBadge(name: "First Hike")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user