Bottom Tab Bar Visibility Adjustment

Nucleic-Session: 747527BF-AEE9-4939-BE70-A14F1F3BBBA8
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 16:23:32 -07:00
co-authored by Nucleic
parent f01b7437e1
commit 20584bded9
@@ -27,6 +27,10 @@ struct SessionDetailView: View {
.safeAreaInset(edge: .bottom) { actionArea } .safeAreaInset(edge: .bottom) { actionArea }
.navigationTitle(summary?.title ?? "Session") .navigationTitle(summary?.title ?? "Session")
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
// With a session open the floating chat bar owns the bottom edge; the tab bar below it
// would be a redundant second bar (and clip the glass action area), so hide it while
// this detail is pushed. A no-op in the iPad split, which has no tab bar.
.toolbar(.hidden, for: .tabBar)
.toolbar { .toolbar {
ToolbarItem(placement: .topBarTrailing) { sessionMenu } ToolbarItem(placement: .topBarTrailing) { sessionMenu }
} }