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