Tab Bar Load Animation
Nucleic-Session: EEC60FAE-8368-49CA-9202-7026C12E7F8C Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -27,10 +27,11 @@ struct SessionDetailView: View {
|
||||
.safeAreaInset(edge: .bottom) { actionArea }
|
||||
.navigationTitle(summary?.title ?? "Session")
|
||||
.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)
|
||||
// With a session open the floating chat bar owns the bottom edge, so the compact
|
||||
// shell's `NucleicTabBar` slides away while this detail is pushed — driven by the
|
||||
// `open`/`closeOpen` below toggling `store.openSessionID`, not a per-navigation tab-bar
|
||||
// toolbar hide (which restored the system bar late and made the "+" jump). A no-op in
|
||||
// the iPad split, which has no tab bar.
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .topBarTrailing) { sessionMenu }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user