Tab Bar Animation Fix

Nucleic-Session: 09F787AF-3A70-4978-8762-9827C1CC0774
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 21:51:39 -07:00
co-authored by Nucleic
parent 261acf8f35
commit c4baa31f52
@@ -66,6 +66,13 @@ final class RemoteStore: ObservableObject {
private var openSessionHostID: String? private var openSessionHostID: String?
@Published private(set) var openEvents: [AgentEvent] = [] @Published private(set) var openEvents: [AgentEvent] = []
@Published private(set) var openApprovals: [ApprovalRequest] = [] @Published private(set) var openApprovals: [ApprovalRequest] = []
/// Whether the compact (iPhone) Sessions tab currently has a session detail pushed. Distinct
/// from `openSessionID`, which is the *data* subscription and is only torn down on the detail's
/// `onDisappear` — and SwiftUI fires that at the *end* of the pop transition, so keying the
/// floating tab bar's visibility off it left the bar sliding back up 1–2s after a back-swipe.
/// `SessionsView` sets this straight from its navigation path, which flips the instant the pop
/// begins, so the bar reflows immediately while the transcript state survives the animation.
@Published var compactDetailPresented = false
/// The open session's full diff (the Mac Diff tab's patch), fetched on demand when the /// The open session's full diff (the Mac Diff tab's patch), fetched on demand when the
/// user opens the Diff tab and the host advertises `canFetchDiff`. Nil until it arrives. /// user opens the Diff tab and the host advertises `canFetchDiff`. Nil until it arrives.
@Published private(set) var openDiff: WireSessionDiff? @Published private(set) var openDiff: WireSessionDiff?