Add feedback submission sheet

Also fixed a bug where locations with overlapping close and open times would show "Closing Soon" for 30 minutes just to then switch to "Open" when it rolled over.
This commit is contained in:
2026-02-17 00:01:55 -05:00
parent a4e3af3e75
commit 0c07c509f3
8 changed files with 256 additions and 10 deletions

View File

@@ -19,6 +19,7 @@ struct ContentView: View {
@State private var loadFailed: Bool = false
@State private var showingDonationSheet: Bool = false
@State private var showingFeedbackSheet: Bool = false
@State private var searchText: String = ""
@State private var path = NavigationPath()
@@ -149,6 +150,11 @@ struct ContentView: View {
Image(systemName: "info.circle")
Text("About")
}
Button(action: {
showingFeedbackSheet = true
}) {
Label("Feedback", systemImage: "paperplane")
}
Button(action: {
showingDonationSheet = true
}) {
@@ -187,6 +193,9 @@ struct ContentView: View {
.sheet(isPresented: $showingDonationSheet) {
DonationView()
}
.sheet(isPresented: $showingFeedbackSheet) {
FeedbackView()
}
}
}