debug: trips navigation logging round 2
All checks were successful
Security Checks / dependency-audit (push) Successful in 14s
Security Checks / secret-scanning (push) Successful in 4s
Security Checks / dockerfile-lint (push) Successful in 4s

This commit is contained in:
Yusuf Suleman
2026-04-04 15:28:32 -05:00
parent 583138fbe2
commit e4a079bf11
2 changed files with 4 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ struct TripsHomeView: View {
await vm.refresh()
}
.background(Color.canvas)
.onAppear {
print("[TRIPS] HomeView onAppear trips=\(vm.trips.count) loading=\(vm.isLoading)")
}
.toolbar {
ToolbarItem(placement: .title) {
HStack {

View File

@@ -10,6 +10,7 @@ struct UpcomingTripsPageView: View {
var namespace: Namespace.ID
var body: some View {
let _ = print("[TRIPS] UpcomingPageView body trips=\(trips.count)")
if trips.isEmpty {
VStack(spacing: 16) {
Image(systemName: "airplane.departure")