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 }
|
.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
|
// With a session open the floating chat bar owns the bottom edge, so the compact
|
||||||
// would be a redundant second bar (and clip the glass action area), so hide it while
|
// shell's `NucleicTabBar` slides away while this detail is pushed — driven by the
|
||||||
// this detail is pushed. A no-op in the iPad split, which has no tab bar.
|
// `open`/`closeOpen` below toggling `store.openSessionID`, not a per-navigation tab-bar
|
||||||
.toolbar(.hidden, for: .tabBar)
|
// 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 {
|
.toolbar {
|
||||||
ToolbarItem(placement: .topBarTrailing) { sessionMenu }
|
ToolbarItem(placement: .topBarTrailing) { sessionMenu }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user