Just a couple of Combine Publishers to go.

This commit is contained in:
John Holdsworth
2019-07-09 14:43:52 +01:00
parent b8281e5e21
commit f5f4d0b3d5
12 changed files with 33 additions and 24 deletions

View File

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

View File

@@ -31,7 +31,7 @@ struct ProfileSummary: View {
VStack(alignment: .leading) {
Text("Completed Badges")
.font(.headline)
ScrollView {
ScrollView(.horizontal) {
HStack {
HikeBadge(name: "First Hike")