Remove Home Header
Nucleic-Session: 21C33A6B-CE4E-4155-84C1-CB881C03DD3A Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -79,12 +79,7 @@ struct SessionsView: View {
|
|||||||
.compactTabBarInset()
|
.compactTabBarInset()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// The title is rendered as content (`sessionsHeader`) rather than a system
|
.navigationTitle("Sessions")
|
||||||
// `.navigationTitle`, so the archive toggle can sit on the same row, centered with it
|
|
||||||
// (a system toolbar item can only ride in the compact bar, floating above a large
|
|
||||||
// title). The empty inline bar keeps the top band matching the Home dashboard.
|
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
|
||||||
.safeAreaInset(edge: .top, spacing: 0) { sessionsHeader }
|
|
||||||
.navigationDestination(for: SessionID.self) { id in
|
.navigationDestination(for: SessionID.self) { id in
|
||||||
SessionDetailView(sessionID: id)
|
SessionDetailView(sessionID: id)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user