Hide Back on the first tour stop !42

merged merged by cmc on 2026-10-19 04:56 UTC · krz/moonrise:tour-back into main

1 file changed, +3 −2

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) }