Detail sheet: lead with depart → arrival, push LIVE STATE below

When you tap an aircraft you almost always want to know where it
came from and where it's going. Moving routeSection above the
divider so it's the first block under the callsign header — no
scrolling to find it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Trey T
2026-05-27 07:44:48 -05:00
parent dee6df1ac6
commit 68c60ec087
+5 -4
View File
@@ -33,9 +33,13 @@ struct LiveFlightDetailSheet: View {
VStack(alignment: .leading, spacing: 16) { VStack(alignment: .leading, spacing: 16) {
header header
// Depart Arrival lives directly under the callsign
// header it's the single most important thing the
// user opened the sheet to see.
routeSection
Divider() Divider()
// Live state grid
Text("LIVE STATE") Text("LIVE STATE")
.font(FlightTheme.label()) .font(FlightTheme.label())
.foregroundStyle(FlightTheme.textTertiary) .foregroundStyle(FlightTheme.textTertiary)
@@ -43,9 +47,6 @@ struct LiveFlightDetailSheet: View {
liveStateGrid liveStateGrid
routeSection
.padding(.top, 4)
if recentFlights.count > 1 { if recentFlights.count > 1 {
Text("RECENT FLIGHTS") Text("RECENT FLIGHTS")
.font(FlightTheme.label()) .font(FlightTheme.label())