From d404442c681fe4962cba82f0f8125d5d68e3bcb0 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sat, 4 Jul 2026 23:41:26 -0700 Subject: [PATCH] Live Activity Content Density Nucleic-Session: B3643133-163C-4C5D-BE20-1A6B7FB83DA9 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/AdaptiveRootView.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/AdaptiveRootView.swift b/NucleicRemote/NucleicRemote/Views/AdaptiveRootView.swift index 7d9344b..8c32dd6 100644 --- a/NucleicRemote/NucleicRemote/Views/AdaptiveRootView.swift +++ b/NucleicRemote/NucleicRemote/Views/AdaptiveRootView.swift @@ -96,6 +96,13 @@ struct SplitRootView: View { selection = .session(route) store.pendingRoute = nil } + // A Live Activity tap with work running but nothing waiting: reveal the sidebar, which + // always lists the live sessions (the regular-width analogue of the Sessions tab). + .onChange(of: store.pendingSessionsList) { _, show in + guard show else { return } + columnVisibility = .all + store.pendingSessionsList = false + } .onAppear { // Offline UI previews (NUCLEIC_DEMO): open straight into one session. if let raw = ProcessInfo.processInfo.environment["NUCLEIC_DEMO_SESSION"], !raw.isEmpty {