debug: trips navigation logging round 2
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user