Commit 12b2f378a9
Unsigned
Layout: unified · split
App/Sources/TourViews.swift +3 −2
| @@ -54,8 +54,9 @@ struct TourCard: View { | |||
| 54 | Text("Below your horizon at this time. Try later in the evening or another month.").font(.footnote).dimmed(0.7) | 54 | Text("Below your horizon at this time. Try later in the evening or another month.").font(.footnote).dimmed(0.7) |
| 55 | } | 55 | } |
| 56 | HStack { | 56 | HStack { |
| 57 | Button { step -= 1 } label: { Label("Back", systemImage: "chevron.left") } | 57 | if step > 0 { |
| 58 | .disabled(step == 0) | 58 | Button { step -= 1 } label: { Label("Back", systemImage: "chevron.left") } |
| 59 | } | ||
| 59 | Spacer() | 60 | Spacer() |
| 60 | if let page = s.libraryPage { | 61 | if let page = s.libraryPage { |
| 61 | Button("Read more") { onOpen(page) } | 62 | Button("Read more") { onOpen(page) } |