debug: trips navigation logging round 2
This commit is contained in:
@@ -41,6 +41,9 @@ struct TripsHomeView: View {
|
|||||||
await vm.refresh()
|
await vm.refresh()
|
||||||
}
|
}
|
||||||
.background(Color.canvas)
|
.background(Color.canvas)
|
||||||
|
.onAppear {
|
||||||
|
print("[TRIPS] HomeView onAppear trips=\(vm.trips.count) loading=\(vm.isLoading)")
|
||||||
|
}
|
||||||
.toolbar {
|
.toolbar {
|
||||||
ToolbarItem(placement: .title) {
|
ToolbarItem(placement: .title) {
|
||||||
HStack {
|
HStack {
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ struct UpcomingTripsPageView: View {
|
|||||||
var namespace: Namespace.ID
|
var namespace: Namespace.ID
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
let _ = print("[TRIPS] UpcomingPageView body trips=\(trips.count)")
|
||||||
if trips.isEmpty {
|
if trips.isEmpty {
|
||||||
VStack(spacing: 16) {
|
VStack(spacing: 16) {
|
||||||
Image(systemName: "airplane.departure")
|
Image(systemName: "airplane.departure")
|
||||||
|
|||||||
Reference in New Issue
Block a user